pub struct Ticker {Show 19 fields
pub symbol: String,
pub last_price: String,
pub index_price: String,
pub mark_price: String,
pub prev_price_24h: String,
pub price_24h_pcnt: String,
pub high_price_24h: String,
pub low_price_24h: String,
pub prev_price_1h: String,
pub open_interest: String,
pub open_interest_value: String,
pub turnover_24h: String,
pub volume_24h: String,
pub funding_rate: String,
pub next_funding_time: String,
pub bid_1_price: String,
pub bid_1_size: String,
pub ask_1_price: String,
pub ask_1_size: String,
}Expand description
Single ticker.
Fields§
§symbol: StringSymbol
last_price: StringLast price
index_price: StringIndex price
mark_price: StringMark price
prev_price_24h: StringPrevious 24h price
price_24h_pcnt: StringPrice change 24h percentage
high_price_24h: StringHigh price 24h
low_price_24h: StringLow price 24h
prev_price_1h: StringPrevious 1h price
open_interest: StringOpen interest
open_interest_value: StringOpen interest value
turnover_24h: StringTurnover 24h
volume_24h: StringVolume 24h
funding_rate: StringFunding rate
next_funding_time: StringNext funding time
bid_1_price: StringBid price
bid_1_size: StringBid size
ask_1_price: StringAsk price
ask_1_size: StringAsk size
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Ticker
impl<'de> Deserialize<'de> for Ticker
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 Ticker
impl RefUnwindSafe for Ticker
impl Send for Ticker
impl Sync for Ticker
impl Unpin for Ticker
impl UnsafeUnpin for Ticker
impl UnwindSafe for Ticker
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