pub struct TickerData {Show 20 fields
pub symbol: String,
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
Ticker data for linear/inverse.
Fields§
§symbol: StringSymbol.
tick_direction: Option<String>Tick direction.
price24h_pcnt: Option<String>24h price change percentage.
last_price: Option<String>Last price.
prev_price24h: Option<String>Previous 24h price.
high_price24h: Option<String>Highest price in 24h.
low_price24h: Option<String>Lowest price in 24h.
prev_price1h: Option<String>Previous 1h price.
mark_price: Option<String>Mark price.
index_price: Option<String>Index price.
open_interest: Option<String>Open interest.
open_interest_value: Option<String>Open interest value.
turnover24h: Option<String>Turnover in 24h.
volume24h: Option<String>Volume in 24h.
next_funding_time: Option<String>Next funding timestamp.
funding_rate: Option<String>Funding rate.
bid1_price: Option<String>Best bid price.
bid1_size: Option<String>Best bid size.
ask1_price: Option<String>Best ask price.
ask1_size: Option<String>Best ask size.
Trait Implementations§
Source§impl Clone for TickerData
impl Clone for TickerData
Source§fn clone(&self) -> TickerData
fn clone(&self) -> TickerData
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 TickerData
impl Debug for TickerData
Source§impl<'de> Deserialize<'de> for TickerData
impl<'de> Deserialize<'de> for TickerData
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 TickerData
impl RefUnwindSafe for TickerData
impl Send for TickerData
impl Sync for TickerData
impl Unpin for TickerData
impl UnwindSafe for TickerData
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