pub struct AccountUpdate {
pub event_type: String,
pub event_time: u64,
pub maker_commision_rate: u64,
pub taker_commision_rate: u64,
pub buyer_commision_rate: u64,
pub seller_commision_rate: u64,
pub can_trade: bool,
pub can_withdraw: bool,
pub can_deposit: bool,
pub last_account_update: u64,
pub balance: Vec<AccountUpdateBalance>,
}
Fields§
§event_type: String
§event_time: u64
§maker_commision_rate: u64
§taker_commision_rate: u64
§buyer_commision_rate: u64
§seller_commision_rate: u64
§can_trade: bool
§can_withdraw: bool
§can_deposit: bool
§last_account_update: u64
§balance: Vec<AccountUpdateBalance>
Trait Implementations§
Source§impl Clone for AccountUpdate
impl Clone for AccountUpdate
Source§fn clone(&self) -> AccountUpdate
fn clone(&self) -> AccountUpdate
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for AccountUpdate
impl Debug for AccountUpdate
Source§impl<'de> Deserialize<'de> for AccountUpdate
impl<'de> Deserialize<'de> for AccountUpdate
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 AccountUpdate
impl RefUnwindSafe for AccountUpdate
impl Send for AccountUpdate
impl Sync for AccountUpdate
impl Unpin for AccountUpdate
impl UnwindSafe for AccountUpdate
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