Struct binance_client::AccountGetResponse[][src]

pub struct AccountGetResponse {
    pub maker_commission: i64,
    pub taker_commission: i64,
    pub buyer_commission: i64,
    pub seller_commission: i64,
    pub can_trade: bool,
    pub can_withdraw: bool,
    pub can_deposit: bool,
    pub update_time: i64,
    pub account_type: AccountType,
    pub balances: Vec<Balance>,
    pub permissions: Vec<Permission>,
}

The https://www.binance.com/api/v3/account GET response.

Fields

maker_commission: i64

The maker fee.

taker_commission: i64

The taker fee.

buyer_commission: i64

The buyer fee.

seller_commission: i64

The seller fee.

can_trade: bool

Whether the account is allowed to trade.

can_withdraw: bool

Whether the account is allowed to withdraw.

can_deposit: bool

Whether the account is allowed to deposit.

update_time: i64

The account last update time.

account_type: AccountType

The account type.

balances: Vec<Balance>

The account balances.

permissions: Vec<Permission>

The account permissions.

Implementations

impl Response[src]

pub fn get_balance(&self, token: &str) -> Decimal[src]

Get the available balance for the specified token.

Trait Implementations

impl Debug for Response[src]

impl<'de> Deserialize<'de> for Response[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: for<'de> Deserialize<'de>, 
[src]

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

impl<T> Typeable for T where
    T: Any