pub struct TickerDecimal {
pub today: Decimal,
pub last_24_h: Decimal,
}
Expand description
Ticker helper type to serve differently typed data for the last 24 hours.
Fields§
§today: Decimal
§last_24_h: Decimal
Trait Implementations§
Source§impl Clone for TickerDecimal
impl Clone for TickerDecimal
Source§fn clone(&self) -> TickerDecimal
fn clone(&self) -> TickerDecimal
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 TickerDecimal
impl Debug for TickerDecimal
Source§impl<'de> Deserialize<'de> for TickerDecimal
impl<'de> Deserialize<'de> for TickerDecimal
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
Source§impl PartialEq for TickerDecimal
impl PartialEq for TickerDecimal
impl StructuralPartialEq for TickerDecimal
Auto Trait Implementations§
impl Freeze for TickerDecimal
impl RefUnwindSafe for TickerDecimal
impl Send for TickerDecimal
impl Sync for TickerDecimal
impl Unpin for TickerDecimal
impl UnwindSafe for TickerDecimal
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