pub struct TradeUpdate {
pub action: String,
pub trades: Vec<Trade>,
pub market_id: MarketId,
pub onchain_timestamp: Option<String>,
pub seen_timestamp: String,
}Expand description
WebSocket trade update.
Fields§
§action: String§trades: Vec<Trade>§market_id: MarketId§onchain_timestamp: Option<String>§seen_timestamp: StringTrait Implementations§
Source§impl Clone for TradeUpdate
impl Clone for TradeUpdate
Source§fn clone(&self) -> TradeUpdate
fn clone(&self) -> TradeUpdate
Returns a duplicate 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 TradeUpdate
impl Debug for TradeUpdate
Source§impl<'de> Deserialize<'de> for TradeUpdate
impl<'de> Deserialize<'de> for TradeUpdate
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 TradeUpdate
impl RefUnwindSafe for TradeUpdate
impl Send for TradeUpdate
impl Sync for TradeUpdate
impl Unpin for TradeUpdate
impl UnwindSafe for TradeUpdate
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