Struct binance_async::model::TradeHistory
source · pub struct TradeHistory {
pub symbol: String,
pub id: u64,
pub order_id: u64,
pub price: f64,
pub qty: f64,
pub commission: f64,
pub commission_asset: String,
pub time: u64,
pub is_buyer: bool,
pub is_maker: bool,
pub is_best_match: bool,
}
Fields
symbol: String
id: u64
order_id: u64
price: f64
qty: f64
commission: f64
commission_asset: String
time: u64
is_buyer: bool
is_maker: bool
is_best_match: bool
Trait 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 · sourcefn clone_from(&mut self, source: &Self)
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