Struct bittrex::types::BalanceInfo
[−]
[src]
pub struct BalanceInfo { /* fields omitted */ }
Structure representing a currency balance information.
Methods
impl BalanceInfo
[src]
pub fn currency(&self) -> &str
[src]
Gets the currency code.
pub fn balance(&self) -> f32
[src]
Gets the balance for the currency.
pub fn available(&self) -> f32
[src]
Gets the available balance for the currency.
pub fn pending(&self) -> f32
[src]
Gets the pending balance for the currency.
pub fn crypto_address(&self) -> Option<&str>
[src]
Gets the address of the currency for deposits.
pub fn requested(&self) -> bool
[src]
Gets wether a withdrawal has been requested.
pub fn uuid(&self) -> Option<&str>
[src]
Gets the UUID of the currency.
Trait Implementations
impl Debug for BalanceInfo
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for BalanceInfo
[src]
fn clone(&self) -> BalanceInfo
[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