pub struct TickerBook {
pub market: String,
pub bid: Option<String>,
pub ask: Option<String>,
pub bid_size: Option<String>,
pub ask_size: Option<String>,
}Expand description
Best bid and ask for a market.
Fields§
§market: String§bid: Option<String>§ask: Option<String>§bid_size: Option<String>§ask_size: Option<String>Trait Implementations§
Source§impl Clone for TickerBook
impl Clone for TickerBook
Source§impl Debug for TickerBook
impl Debug for TickerBook
Source§impl<'de> Deserialize<'de> for TickerBook
impl<'de> Deserialize<'de> for TickerBook
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 TickerBook
impl RefUnwindSafe for TickerBook
impl Send for TickerBook
impl Sync for TickerBook
impl Unpin for TickerBook
impl UnsafeUnpin for TickerBook
impl UnwindSafe for TickerBook
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