Trait ToAmount

Source
pub trait ToAmount<'a, A> {
    // Required method
    fn to_amount(&self, value: Cow<'a, str>) -> A;
}

Required Methods§

Source

fn to_amount(&self, value: Cow<'a, str>) -> A

Implementors§

Source§

impl<'a> ToAmount<'a, IssuedCurrencyAmount<'a>> for IssuedCurrency<'a>

Source§

impl<'a> ToAmount<'a, XRPAmount<'a>> for XRP<'a>