pub struct RecentTrade {
pub price: Decimal,
pub volume: Decimal,
pub time: f64,
pub buy_sell: BuySellChar,
pub market_limit: MarketLimitChar,
pub misc: String,
pub trade_id: i64,
}
Expand description
A public trade
The model is the same regardless of if request to be consolidated by taker
Fields§
§price: Decimal
§volume: Decimal
§time: f64
§buy_sell: BuySellChar
§market_limit: MarketLimitChar
§misc: String
§trade_id: i64
Trait Implementations§
Source§impl Clone for RecentTrade
impl Clone for RecentTrade
Source§fn clone(&self) -> RecentTrade
fn clone(&self) -> RecentTrade
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 RecentTrade
impl Debug for RecentTrade
Source§impl<'de> Deserialize<'de> for RecentTrade
impl<'de> Deserialize<'de> for RecentTrade
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 RecentTrade
impl PartialEq for RecentTrade
impl StructuralPartialEq for RecentTrade
Auto Trait Implementations§
impl Freeze for RecentTrade
impl RefUnwindSafe for RecentTrade
impl Send for RecentTrade
impl Sync for RecentTrade
impl Unpin for RecentTrade
impl UnwindSafe for RecentTrade
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