pub struct BinanceTicker {Show 20 fields
pub symbol: String,
pub price_change: String,
pub price_change_percent: String,
pub weighted_avg_price: String,
pub last_price: String,
pub last_qty: String,
pub bid_price: String,
pub bid_qty: String,
pub ask_price: String,
pub ask_qty: String,
pub open_price: String,
pub high_price: String,
pub low_price: String,
pub volume: String,
pub quote_volume: String,
pub open_time: u64,
pub close_time: u64,
pub first_id: u64,
pub last_id: u64,
pub count: u64,
}Expand description
Binance ticker structure
Fields§
§symbol: StringSymbol
price_change: StringPrice change
price_change_percent: StringPrice change percent
weighted_avg_price: StringWeighted average price
last_price: StringLast price
last_qty: StringLast quantity
bid_price: StringBid price
bid_qty: StringBid quantity
ask_price: StringAsk price
ask_qty: StringAsk quantity
open_price: StringOpen price
high_price: StringHigh price
low_price: StringLow price
volume: StringVolume
quote_volume: StringQuote volume
open_time: u64Open time
close_time: u64Close time
first_id: u64First trade ID
last_id: u64Last trade ID
count: u64Trade count
Trait Implementations§
Source§impl Clone for BinanceTicker
impl Clone for BinanceTicker
Source§fn clone(&self) -> BinanceTicker
fn clone(&self) -> BinanceTicker
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BinanceTicker
impl Debug for BinanceTicker
Source§impl<'de> Deserialize<'de> for BinanceTicker
impl<'de> Deserialize<'de> for BinanceTicker
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 BinanceTicker
impl RefUnwindSafe for BinanceTicker
impl Send for BinanceTicker
impl Sync for BinanceTicker
impl Unpin for BinanceTicker
impl UnwindSafe for BinanceTicker
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