pub struct RestTickerInfo {
pub asks: TickerBidAsk,
pub bids: TickerBidAsk,
pub closed: LastTrade,
pub volume: TickerDecimal,
pub vwap: TickerDecimal,
pub trades: TickerTrades,
pub low: TickerDecimal,
pub high: TickerDecimal,
pub open: Decimal,
}
Expand description
Complete ticker information for an asset
Fields§
§asks: TickerBidAsk
§bids: TickerBidAsk
§closed: LastTrade
§volume: TickerDecimal
§vwap: TickerDecimal
§trades: TickerTrades
§low: TickerDecimal
§high: TickerDecimal
§open: Decimal
Trait Implementations§
Source§impl Clone for RestTickerInfo
impl Clone for RestTickerInfo
Source§fn clone(&self) -> RestTickerInfo
fn clone(&self) -> RestTickerInfo
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 RestTickerInfo
impl Debug for RestTickerInfo
Source§impl<'de> Deserialize<'de> for RestTickerInfo
impl<'de> Deserialize<'de> for RestTickerInfo
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 RestTickerInfo
impl PartialEq for RestTickerInfo
impl StructuralPartialEq for RestTickerInfo
Auto Trait Implementations§
impl Freeze for RestTickerInfo
impl RefUnwindSafe for RestTickerInfo
impl Send for RestTickerInfo
impl Sync for RestTickerInfo
impl Unpin for RestTickerInfo
impl UnwindSafe for RestTickerInfo
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