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>,
}Expand description
The https://www.binance.com/api/v3/account GET response.
Fields§
§maker_commission: i64The maker fee.
taker_commission: i64The taker fee.
buyer_commission: i64The buyer fee.
seller_commission: i64The seller fee.
can_trade: boolWhether the account is allowed to trade.
can_withdraw: boolWhether the account is allowed to withdraw.
can_deposit: boolWhether the account is allowed to deposit.
update_time: i64The account last update time.
account_type: AccountTypeThe account type.
balances: Vec<Balance>The account balances.
permissions: Vec<Permission>The account permissions.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Response
impl<'de> Deserialize<'de> for Response
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Response
impl RefUnwindSafe for Response
impl Send for Response
impl Sync for Response
impl Unpin for Response
impl UnwindSafe for Response
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,
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