pub struct PublicTradeRecord {
pub exec_id: String,
pub symbol: String,
pub price: Decimal,
pub size: Decimal,
pub side: String,
pub time: i64,
}Expand description
One trade of /v5/market/recent-trade.
Fields§
§exec_id: StringThe id of the trade.
symbol: StringThe symbol.
price: DecimalThe price.
size: DecimalThe size.
side: StringThe side of the taker, Buy or Sell.
time: i64The time, milliseconds.
Trait Implementations§
Source§impl Clone for PublicTradeRecord
impl Clone for PublicTradeRecord
Source§fn clone(&self) -> PublicTradeRecord
fn clone(&self) -> PublicTradeRecord
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PublicTradeRecord
impl Debug for PublicTradeRecord
Source§impl<'de> Deserialize<'de> for PublicTradeRecord
impl<'de> Deserialize<'de> for PublicTradeRecord
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 Freeze for PublicTradeRecord
impl RefUnwindSafe for PublicTradeRecord
impl Send for PublicTradeRecord
impl Sync for PublicTradeRecord
impl Unpin for PublicTradeRecord
impl UnsafeUnpin for PublicTradeRecord
impl UnwindSafe for PublicTradeRecord
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