[][src]Trait sunshine_util::traits::GetBalance

pub trait GetBalance<Currency>: Sized {
    fn total_free_funds(&self) -> Currency;
fn total_reserved_funds(&self) -> Currency;
fn total_funds(&self) -> Currency; }

Required methods

fn total_free_funds(&self) -> Currency

fn total_reserved_funds(&self) -> Currency

fn total_funds(&self) -> Currency

Loading content...

Implementors

impl<GovernanceConfig: Clone + PartialEq, Currency: Zero + AtLeast32Bit + Clone + Add> GetBalance<Currency> for BankState<GovernanceConfig, Currency>[src]

Loading content...