Struct binance::rest_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: u64price: f64qty: f64commission: Stringcommission_asset: Stringtime: u64is_buyer: boolis_maker: boolis_best_match: boolTrait Implementations
sourceimpl Clone for TradeHistory
impl Clone for TradeHistory
sourcefn clone(&self) -> TradeHistory
fn clone(&self) -> TradeHistory
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for TradeHistory
impl Debug for TradeHistory
sourceimpl<'de> Deserialize<'de> for TradeHistory
impl<'de> Deserialize<'de> for TradeHistory
sourcefn 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
sourceimpl Serialize for TradeHistory
impl Serialize for TradeHistory
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more