Struct shuttle_sdk::Amount
[−]
[src]
pub struct Amount { /* fields omitted */ }Amount in XLM.
Methods
impl Amount[src]
fn from_stroops(stroops: Stroops) -> Result<Amount, Error>[src]
Create from amount specified in stroops.
fn as_stroops(&self) -> Result<Stroops, Error>[src]
Convert to stroops.
fn into_stroops(self) -> Result<Stroops, Error>[src]
Convert into stroops.
Trait Implementations
impl Ord for Amount[src]
impl Clone for Amount[src]
fn clone(&self) -> Amount[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Eq for Amount[src]
impl PartialEq<Amount> for Amount[src]
impl FromStr for Amount[src]
type Err = Error
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<Amount, Error>[src]
Parses a string s to return a value of this type. Read more
impl Debug for Amount[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>[src]
Formats the value using the given formatter.