pub struct OkxTicker {Show 16 fields
pub instrument_type: OkxInstrumentType,
pub instrument_id: CryptoSymbol,
pub last: Decimal,
pub last_size: Decimal,
pub ask_price: Decimal,
pub ask_size: Decimal,
pub bid_price: Decimal,
pub bid_size: Decimal,
pub open_24h: Decimal,
pub high_24h: Decimal,
pub low_24h: Decimal,
pub volume_currency_24h: Decimal,
pub volume_24h: Decimal,
pub start_of_day_utc0: Decimal,
pub start_of_day_utc8: Decimal,
pub ts: DateTime<Utc>,
}Fields§
§instrument_type: OkxInstrumentType§instrument_id: CryptoSymbol§last: Decimal§last_size: Decimal§ask_price: Decimal§ask_size: Decimal§bid_price: Decimal§bid_size: Decimal§open_24h: Decimal§high_24h: Decimal§low_24h: Decimal§volume_currency_24h: Decimal§volume_24h: Decimal§start_of_day_utc0: Decimal§start_of_day_utc8: Decimal§ts: DateTime<Utc>Trait Implementations§
Source§impl<'de> Deserialize<'de> for OkxTicker
impl<'de> Deserialize<'de> for OkxTicker
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 OkxTicker
impl RefUnwindSafe for OkxTicker
impl Send for OkxTicker
impl Sync for OkxTicker
impl Unpin for OkxTicker
impl UnsafeUnpin for OkxTicker
impl UnwindSafe for OkxTicker
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