[][src]Struct cxmr_exchanges::AccountInfo

pub struct AccountInfo {
    pub account: String,
    pub can_trade: bool,
    pub balances: HashMap<Currency, Balance>,
    pub maker_fee_rate: u64,
    pub taker_fee_rate: u64,
    pub updated_at: u64,
}

Account information.

Fields

account: String

Internal account ID.

can_trade: bool

True if user can trade.

balances: HashMap<Currency, Balance>

Balances in points.

maker_fee_rate: u64

Maker fee rate in bips (1/10_000).

taker_fee_rate: u64

Taker fee rate in bips (1/10_000).

updated_at: u64

Timestamp of info.

Trait Implementations

impl Clone for AccountInfo[src]

impl Debug for AccountInfo[src]

impl<'de> Deserialize<'de> for AccountInfo[src]

impl Serialize for AccountInfo[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.