pub struct Ticker24h {Show 15 fields
pub market: String,
pub start_timestamp: Option<u64>,
pub timestamp: Option<u64>,
pub open: Option<String>,
pub open_timestamp: Option<u64>,
pub high: Option<String>,
pub low: Option<String>,
pub last: Option<String>,
pub close_timestamp: Option<u64>,
pub bid: Option<String>,
pub bid_size: Option<String>,
pub ask: Option<String>,
pub ask_size: Option<String>,
pub volume: Option<String>,
pub volume_quote: Option<String>,
}Expand description
High, low, open, last, and volume information for trades for a given market over the previous 24h.
Fields§
§market: String§start_timestamp: Option<u64>§timestamp: Option<u64>§open: Option<String>§open_timestamp: Option<u64>§high: Option<String>§low: Option<String>§last: Option<String>§close_timestamp: Option<u64>§bid: Option<String>§bid_size: Option<String>§ask: Option<String>§ask_size: Option<String>§volume: Option<String>§volume_quote: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Ticker24h
impl<'de> Deserialize<'de> for Ticker24h
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 Ticker24h
impl RefUnwindSafe for Ticker24h
impl Send for Ticker24h
impl Sync for Ticker24h
impl Unpin for Ticker24h
impl UnwindSafe for Ticker24h
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