pub struct TickerDeltaMsg {Show 27 fields
pub symbol: String,
pub tick_direction: Option<TickDirection>,
pub last_price: Option<Decimal>,
pub pre_open_price: Option<Decimal>,
pub pre_qty: Option<Decimal>,
pub cur_pre_listing_phase: Option<String>,
pub prev_price24h: Option<Decimal>,
pub price24h_pcnt: Option<Decimal>,
pub high_price24h: Option<Decimal>,
pub low_price24h: Option<Decimal>,
pub prev_price1h: Option<Decimal>,
pub mark_price: Option<Decimal>,
pub index_price: Option<Decimal>,
pub open_interest: Option<Decimal>,
pub open_interest_value: Option<Decimal>,
pub turnover24h: Option<Decimal>,
pub volume24h: Option<Decimal>,
pub funding_rate: Option<Decimal>,
pub next_funding_time: Option<Decimal>,
pub bid1_price: Option<Decimal>,
pub bid1_size: Option<Decimal>,
pub ask1_price: Option<Decimal>,
pub ask1_size: Option<Decimal>,
pub delivery_time: Option<Timestamp>,
pub basis_rate: Option<Decimal>,
pub delivery_fee_rate: Option<Decimal>,
pub predicted_delivery_price: Option<Decimal>,
}Fields§
§symbol: String§tick_direction: Option<TickDirection>§last_price: Option<Decimal>§pre_open_price: Option<Decimal>§pre_qty: Option<Decimal>§cur_pre_listing_phase: Option<String>§prev_price24h: Option<Decimal>§price24h_pcnt: Option<Decimal>§high_price24h: Option<Decimal>§low_price24h: Option<Decimal>§prev_price1h: Option<Decimal>§mark_price: Option<Decimal>§index_price: Option<Decimal>§open_interest: Option<Decimal>§open_interest_value: Option<Decimal>§turnover24h: Option<Decimal>§volume24h: Option<Decimal>§funding_rate: Option<Decimal>§next_funding_time: Option<Decimal>§bid1_price: Option<Decimal>§bid1_size: Option<Decimal>§ask1_price: Option<Decimal>§ask1_size: Option<Decimal>§delivery_time: Option<Timestamp>§basis_rate: Option<Decimal>§delivery_fee_rate: Option<Decimal>§predicted_delivery_price: Option<Decimal>Trait Implementations§
Source§impl Debug for TickerDeltaMsg
impl Debug for TickerDeltaMsg
Source§impl<'de> Deserialize<'de> for TickerDeltaMsg
impl<'de> Deserialize<'de> for TickerDeltaMsg
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
Source§impl PartialEq for TickerDeltaMsg
impl PartialEq for TickerDeltaMsg
Source§fn eq(&self, other: &TickerDeltaMsg) -> bool
fn eq(&self, other: &TickerDeltaMsg) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TickerDeltaMsg
Auto Trait Implementations§
impl Freeze for TickerDeltaMsg
impl RefUnwindSafe for TickerDeltaMsg
impl Send for TickerDeltaMsg
impl Sync for TickerDeltaMsg
impl Unpin for TickerDeltaMsg
impl UnsafeUnpin for TickerDeltaMsg
impl UnwindSafe for TickerDeltaMsg
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