pub struct Ticker {Show 23 fields
pub event_type: String,
pub event_time: u64,
pub symbol: String,
pub price_change: Decimal,
pub price_change_percent: Decimal,
pub average_price: Decimal,
pub prev_close: Decimal,
pub current_close: Decimal,
pub current_close_qty: Decimal,
pub best_bid: Decimal,
pub best_bid_qty: Decimal,
pub best_ask: Decimal,
pub best_ask_qty: Decimal,
pub open: Decimal,
pub high: Decimal,
pub low: Decimal,
pub volume: Decimal,
pub quote_volume: Decimal,
pub open_time: u64,
pub close_time: u64,
pub first_trade_id: u64,
pub last_trade_id: u64,
pub num_trades: u64,
}
Fields§
§event_type: String
§event_time: u64
§symbol: String
§price_change: Decimal
§price_change_percent: Decimal
§average_price: Decimal
§prev_close: Decimal
§current_close: Decimal
§current_close_qty: Decimal
§best_bid: Decimal
§best_bid_qty: Decimal
§best_ask: Decimal
§best_ask_qty: Decimal
§open: Decimal
§high: Decimal
§low: Decimal
§volume: Decimal
§quote_volume: Decimal
§open_time: u64
§close_time: u64
§first_trade_id: u64
§last_trade_id: u64
§num_trades: u64
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 Freeze for Ticker
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