Struct crypto_com_exchange::Ticker
source · pub struct Ticker {
pub highest: f32,
pub volume: f32,
pub latest: f32,
pub lowest: f32,
pub current: f32,
pub best: f32,
pub change: f32,
pub time: DateTime<Utc>,
}
Expand description
Ticker element received from subscription
Fields§
§highest: f32
Price of the 24h highest trade
volume: f32
The total 24h traded volume
latest: f32
The price of the latest trade, null if there weren’t any trades
lowest: f32
Price of the 24h lowest trade, null if there weren’t any trades
current: f32
The current best bid price, null if there aren’t any bids
best: f32
The current best ask price, null if there aren’t any asks
change: f32
24-hour price change, null if there weren’t any trades
time: DateTime<Utc>
update time
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 RefUnwindSafe for Ticker
impl Send for Ticker
impl Sync for Ticker
impl Unpin 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