Trait xcm_primitives::FilterMaxAssetFee
source · pub trait FilterMaxAssetFee {
// Required method
fn filter_max_asset_fee(asset: &Asset) -> bool;
}
Expand description
Filters max fee for a given multiasset.
It takes self (a multiasset) and runs contains in the argument multiasset
Can be amalgamated into tuples.
If any item returns true
, it short-circuits, else false
is returned.
Required Methods§
sourcefn filter_max_asset_fee(asset: &Asset) -> bool
fn filter_max_asset_fee(asset: &Asset) -> bool
A filter to be able to compare against a max asset.
Object Safety§
This trait is not object safe.