pub struct TickerEvent {
pub market: String,
pub best_bid: Option<String>,
pub best_bid_size: Option<String>,
pub best_ask: Option<String>,
pub best_ask_size: Option<String>,
pub last_price: Option<String>,
}Expand description
Ticker update pushed on the ticker WebSocket channel.
Fields§
§market: String§best_bid: Option<String>§best_bid_size: Option<String>§best_ask: Option<String>§best_ask_size: Option<String>§last_price: Option<String>Trait Implementations§
Source§impl Clone for TickerEvent
impl Clone for TickerEvent
Source§impl Debug for TickerEvent
impl Debug for TickerEvent
Source§impl<'de> Deserialize<'de> for TickerEvent
impl<'de> Deserialize<'de> for TickerEvent
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 TickerEvent
impl RefUnwindSafe for TickerEvent
impl Send for TickerEvent
impl Sync for TickerEvent
impl Unpin for TickerEvent
impl UnsafeUnpin for TickerEvent
impl UnwindSafe for TickerEvent
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