pub trait PaysFee<T> {
    // Required method
    fn pays_fee(&self, _target: T) -> Pays;
}
Expand description

Indicates if dispatch function should pay fees or not.

If set to Pays::No, the block resource limits are applied, yet no fee is deducted.

Required Methods§

source

fn pays_fee(&self, _target: T) -> Pays

Implementations on Foreign Types§

source§

impl<T> PaysFee<T> for (u64, DispatchClass)

source§

fn pays_fee(&self, _: T) -> Pays

source§

impl<T> PaysFee<T> for (Weight, DispatchClass)

source§

fn pays_fee(&self, _: T) -> Pays

source§

impl<T> PaysFee<T> for (Weight, DispatchClass, Pays)

source§

fn pays_fee(&self, _: T) -> Pays

source§

impl<T> PaysFee<T> for (u64, DispatchClass, Pays)

source§

fn pays_fee(&self, _: T) -> Pays

source§

impl<T> PaysFee<T> for (Weight, Pays)

source§

fn pays_fee(&self, _: T) -> Pays

source§

impl<T> PaysFee<T> for (u64, Pays)

source§

fn pays_fee(&self, _: T) -> Pays

source§

impl<T> PaysFee<T> for u64

source§

fn pays_fee(&self, _: T) -> Pays

Implementors§

source§

impl<T> PaysFee<T> for Weight