pub struct BybitWsTickerLinear {Show 20 fields
pub symbol: Ustr,
pub tick_direction: Option<String>,
pub price24h_pcnt: Option<String>,
pub last_price: Option<String>,
pub prev_price24h: Option<String>,
pub high_price24h: Option<String>,
pub low_price24h: Option<String>,
pub prev_price1h: Option<String>,
pub mark_price: Option<String>,
pub index_price: Option<String>,
pub open_interest: Option<String>,
pub open_interest_value: Option<String>,
pub turnover24h: Option<String>,
pub volume24h: Option<String>,
pub next_funding_time: Option<String>,
pub funding_rate: Option<String>,
pub bid1_price: Option<String>,
pub bid1_size: Option<String>,
pub ask1_price: Option<String>,
pub ask1_size: Option<String>,
}Expand description
Linear/Inverse ticker event payload.
Fields§
§symbol: Ustr§tick_direction: Option<String>§price24h_pcnt: Option<String>§last_price: Option<String>§prev_price24h: Option<String>§high_price24h: Option<String>§low_price24h: Option<String>§prev_price1h: Option<String>§mark_price: Option<String>§index_price: Option<String>§open_interest: Option<String>§open_interest_value: Option<String>§turnover24h: Option<String>§volume24h: Option<String>§next_funding_time: Option<String>§funding_rate: Option<String>§bid1_price: Option<String>§bid1_size: Option<String>§ask1_price: Option<String>§ask1_size: Option<String>Trait Implementations§
Source§impl Clone for BybitWsTickerLinear
impl Clone for BybitWsTickerLinear
Source§fn clone(&self) -> BybitWsTickerLinear
fn clone(&self) -> BybitWsTickerLinear
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BybitWsTickerLinear
impl Debug for BybitWsTickerLinear
Source§impl<'de> Deserialize<'de> for BybitWsTickerLinear
impl<'de> Deserialize<'de> for BybitWsTickerLinear
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 BybitWsTickerLinear
impl RefUnwindSafe for BybitWsTickerLinear
impl Send for BybitWsTickerLinear
impl Sync for BybitWsTickerLinear
impl Unpin for BybitWsTickerLinear
impl UnwindSafe for BybitWsTickerLinear
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more