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.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.