Trait IterableFeeInfo

Source
pub trait IterableFeeInfo {
    // Required methods
    fn amount(&self) -> Option<FeeAmount>;
    fn accounts(&self) -> Vec<FeeAccount>;
}
Expand description

Methods for use w/ Vec

Required Methods§

Implementations on Foreign Types§

Source§

impl IterableFeeInfo for Vec<BuilderFee<SeqTypes>>

Source§

fn amount(&self) -> Option<FeeAmount>

Get sum of amounts

Source§

fn accounts(&self) -> Vec<FeeAccount>

Get a Vec of all unique fee accounts

Source§

impl IterableFeeInfo for Vec<FeeInfo>

Source§

fn amount(&self) -> Option<FeeAmount>

Get sum of fee amounts

Source§

fn accounts(&self) -> Vec<FeeAccount>

Get a Vec of all unique fee accounts

Implementors§