pub struct UserTrade {
pub symbol_id: u32,
pub match_id: String,
pub order_id: String,
pub side: String,
pub is_maker: bool,
pub price: Option<Price>,
pub qty: Option<Quantity>,
pub fee_scaled: String,
pub fee_asset: String,
pub referral_share_scaled: String,
pub ts_ns: String,
}Fields§
§symbol_id: u32§match_id: String§order_id: String§side: String§is_maker: bool§price: Option<Price>§qty: Option<Quantity>§fee_scaled: String§fee_asset: StringAsset used to pay the fee: quote, base, or an
UNKNOWN(<number>) forward-compatible enum value.
ts_ns: StringTrait Implementations§
impl Eq for UserTrade
impl StructuralPartialEq for UserTrade
Auto Trait Implementations§
impl Freeze for UserTrade
impl RefUnwindSafe for UserTrade
impl Send for UserTrade
impl Sync for UserTrade
impl Unpin for UserTrade
impl UnsafeUnpin for UserTrade
impl UnwindSafe for UserTrade
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.