pub struct PublicTrade {
pub price: Decimal,
pub volume: Decimal,
pub time: String,
pub side: BuySellChar,
pub order_type: MarketLimitChar,
pub misc: String,
}
Expand description
Publicly available trade message
Fields§
§price: Decimal
§volume: Decimal
§time: String
§side: BuySellChar
§order_type: MarketLimitChar
§misc: String
Trait Implementations§
Source§impl Debug for PublicTrade
impl Debug for PublicTrade
Source§impl<'de> Deserialize<'de> for PublicTrade
impl<'de> Deserialize<'de> for PublicTrade
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 PublicTrade
impl PartialEq for PublicTrade
impl StructuralPartialEq for PublicTrade
Auto Trait Implementations§
impl Freeze for PublicTrade
impl RefUnwindSafe for PublicTrade
impl Send for PublicTrade
impl Sync for PublicTrade
impl Unpin for PublicTrade
impl UnwindSafe for PublicTrade
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