Struct bybit::model::SpotTicker
source · pub struct SpotTicker {Show 13 fields
pub symbol: String,
pub bid_price: f64,
pub bid_size: f64,
pub ask_price: f64,
pub ask_size: f64,
pub last_price: f64,
pub prev_price_24h: f64,
pub daily_change_percentage: f64,
pub high_24h: f64,
pub low_24h: f64,
pub turnover_24h: String,
pub volume_24h: String,
pub usd_index_price: String,
}Fields§
§symbol: String§bid_price: f64§bid_size: f64§ask_price: f64§ask_size: f64§last_price: f64§prev_price_24h: f64§daily_change_percentage: f64§high_24h: f64§low_24h: f64§turnover_24h: String§volume_24h: String§usd_index_price: StringTrait Implementations§
source§impl Clone for SpotTicker
impl Clone for SpotTicker
source§fn clone(&self) -> SpotTicker
fn clone(&self) -> SpotTicker
Returns a copy 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 SpotTicker
impl Debug for SpotTicker
source§impl<'de> Deserialize<'de> for SpotTicker
impl<'de> Deserialize<'de> for SpotTicker
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 SpotTicker
impl RefUnwindSafe for SpotTicker
impl Send for SpotTicker
impl Sync for SpotTicker
impl Unpin for SpotTicker
impl UnwindSafe for SpotTicker
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