pub struct CoinbaseTickerInfo {
pub ask: Decimal,
pub bid: Decimal,
pub volume: Decimal,
pub trade_id: u64,
pub price: Decimal,
pub size: Decimal,
pub time: DateTime<Utc>,
}Fields§
§ask: Decimal§bid: Decimal§volume: Decimal§trade_id: u64§price: Decimal§size: Decimal§time: DateTime<Utc>Trait Implementations§
Source§impl Clone for CoinbaseTickerInfo
impl Clone for CoinbaseTickerInfo
Source§fn clone(&self) -> CoinbaseTickerInfo
fn clone(&self) -> CoinbaseTickerInfo
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 CoinbaseTickerInfo
impl Debug for CoinbaseTickerInfo
Source§impl<'de> Deserialize<'de> for CoinbaseTickerInfo
impl<'de> Deserialize<'de> for CoinbaseTickerInfo
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 CoinbaseTickerInfo
impl RefUnwindSafe for CoinbaseTickerInfo
impl Send for CoinbaseTickerInfo
impl Sync for CoinbaseTickerInfo
impl Unpin for CoinbaseTickerInfo
impl UnwindSafe for CoinbaseTickerInfo
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