pub struct BinanceAccountInfo {Show 13 fields
pub commission_exponent: i8,
pub maker_commission_mantissa: i64,
pub taker_commission_mantissa: i64,
pub buyer_commission_mantissa: i64,
pub seller_commission_mantissa: i64,
pub can_trade: bool,
pub can_withdraw: bool,
pub can_deposit: bool,
pub require_self_trade_prevention: bool,
pub prevent_sor: bool,
pub update_time: i64,
pub account_type: String,
pub balances: Vec<BinanceBalance>,
}Expand description
Account information response.
Fields§
§commission_exponent: i8Commission exponent.
maker_commission_mantissa: i64Maker commission rate mantissa.
taker_commission_mantissa: i64Taker commission rate mantissa.
buyer_commission_mantissa: i64Buyer commission rate mantissa.
seller_commission_mantissa: i64Seller commission rate mantissa.
can_trade: boolWhether trading is enabled.
can_withdraw: boolWhether withdrawals are enabled.
can_deposit: boolWhether deposits are enabled.
require_self_trade_prevention: boolWhether the account requires self-trade prevention.
prevent_sor: boolWhether to prevent self-trade by quote order ID.
update_time: i64Account update time in microseconds.
account_type: StringAccount type.
balances: Vec<BinanceBalance>Account balances.
Trait Implementations§
Source§impl Clone for BinanceAccountInfo
impl Clone for BinanceAccountInfo
Source§fn clone(&self) -> BinanceAccountInfo
fn clone(&self) -> BinanceAccountInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BinanceAccountInfo
impl Debug for BinanceAccountInfo
Source§impl PartialEq for BinanceAccountInfo
impl PartialEq for BinanceAccountInfo
impl StructuralPartialEq for BinanceAccountInfo
Auto Trait Implementations§
impl Freeze for BinanceAccountInfo
impl RefUnwindSafe for BinanceAccountInfo
impl Send for BinanceAccountInfo
impl Sync for BinanceAccountInfo
impl Unpin for BinanceAccountInfo
impl UnwindSafe for BinanceAccountInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more