pub struct TickerMsg {
pub market_ticker: String,
pub price: Option<i32>,
pub yes_bid: Option<i32>,
pub yes_ask: Option<i32>,
pub price_dollars: Option<String>,
pub volume: Option<i64>,
pub open_interest: Option<i64>,
pub ts: Option<i64>,
}Fields§
§market_ticker: String§price: Option<i32>§yes_bid: Option<i32>§yes_ask: Option<i32>§price_dollars: Option<String>§volume: Option<i64>§open_interest: Option<i64>§ts: Option<i64>Trait Implementations§
Source§impl<'de> Deserialize<'de> for TickerMsg
impl<'de> Deserialize<'de> for TickerMsg
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 TickerMsg
impl RefUnwindSafe for TickerMsg
impl Send for TickerMsg
impl Sync for TickerMsg
impl Unpin for TickerMsg
impl UnwindSafe for TickerMsg
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