pub struct AccountTrade {
pub symbol: Symbol,
pub trade_id: i64,
pub order_id: i64,
pub side: Side,
pub price: Decimal,
pub qty: Decimal,
pub quote_qty: Decimal,
pub commission: Decimal,
pub commission_asset: Option<String>,
pub time_ms: TimestampMs,
}Fields§
§symbol: Symbol§trade_id: i64§order_id: i64§side: Side§price: Decimal§qty: Decimal§quote_qty: Decimal§commission: Decimal§commission_asset: Option<String>§time_ms: TimestampMsTrait Implementations§
Source§impl Clone for AccountTrade
impl Clone for AccountTrade
Source§fn clone(&self) -> AccountTrade
fn clone(&self) -> AccountTrade
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AccountTrade
impl Debug for AccountTrade
Source§impl<'de> Deserialize<'de> for AccountTrade
impl<'de> Deserialize<'de> for AccountTrade
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
Source§impl PartialEq for AccountTrade
impl PartialEq for AccountTrade
Source§fn eq(&self, other: &AccountTrade) -> bool
fn eq(&self, other: &AccountTrade) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AccountTrade
impl Serialize for AccountTrade
impl StructuralPartialEq for AccountTrade
Auto Trait Implementations§
impl Freeze for AccountTrade
impl RefUnwindSafe for AccountTrade
impl Send for AccountTrade
impl Sync for AccountTrade
impl Unpin for AccountTrade
impl UnsafeUnpin for AccountTrade
impl UnwindSafe for AccountTrade
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