Struct binance::model::TradeHistory
source · pub struct TradeHistory {
pub id: u64,
pub price: f64,
pub qty: f64,
pub commission: String,
pub commission_asset: String,
pub time: u64,
pub is_buyer: bool,
pub is_maker: bool,
pub is_best_match: bool,
}
Fields§
§id: u64
§price: f64
§qty: f64
§commission: String
§commission_asset: String
§time: u64
§is_buyer: bool
§is_maker: bool
§is_best_match: bool
Trait Implementations§
source§impl Clone for TradeHistory
impl Clone for TradeHistory
source§fn clone(&self) -> TradeHistory
fn clone(&self) -> TradeHistory
Returns a copy 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 TradeHistory
impl Debug for TradeHistory
source§impl<'de> Deserialize<'de> for TradeHistory
impl<'de> Deserialize<'de> for TradeHistory
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 RefUnwindSafe for TradeHistory
impl Send for TradeHistory
impl Sync for TradeHistory
impl Unpin for TradeHistory
impl UnwindSafe for TradeHistory
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