KeySetInfosMethods

Trait KeySetInfosMethods 

Source
pub trait KeySetInfosMethods {
    // Required methods
    fn active(&self) -> impl Iterator<Item = &KeySetInfo>;
    fn unit(&self, unit: CurrencyUnit) -> impl Iterator<Item = &KeySetInfo>;
}
Expand description

Utility methods for KeySetInfos

Required Methods§

Source

fn active(&self) -> impl Iterator<Item = &KeySetInfo>

Filter for active keysets

Source

fn unit(&self, unit: CurrencyUnit) -> impl Iterator<Item = &KeySetInfo>

Filter keysets for specific unit

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.

Implementations on Foreign Types§

Source§

impl KeySetInfosMethods for Vec<KeySetInfo>

Source§

fn active(&self) -> impl Iterator<Item = &KeySetInfo>

Source§

fn unit(&self, unit: CurrencyUnit) -> impl Iterator<Item = &KeySetInfo>

Implementors§