pub struct RollingWindowTicker {Show 15 fields
pub symbol: String,
pub price_change: f64,
pub price_change_percent: f64,
pub weighted_avg_price: f64,
pub open_price: f64,
pub high_price: f64,
pub low_price: f64,
pub last_price: f64,
pub volume: f64,
pub quote_volume: f64,
pub open_time: u64,
pub close_time: u64,
pub first_id: i64,
pub last_id: i64,
pub count: u64,
}Expand description
Rolling window ticker statistics (FULL).
Fields§
§symbol: StringSymbol.
price_change: f64Price change.
price_change_percent: f64Price change percent.
weighted_avg_price: f64Weighted average price.
open_price: f64Open price.
high_price: f64High price.
low_price: f64Low price.
last_price: f64Last price.
volume: f64Total volume.
quote_volume: f64Quote volume.
open_time: u64Open time.
close_time: u64Close time.
first_id: i64First trade ID.
last_id: i64Last trade ID.
count: u64Trade count.
Trait Implementations§
Source§impl Clone for RollingWindowTicker
impl Clone for RollingWindowTicker
Source§fn clone(&self) -> RollingWindowTicker
fn clone(&self) -> RollingWindowTicker
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 RollingWindowTicker
impl Debug for RollingWindowTicker
Source§impl<'de> Deserialize<'de> for RollingWindowTicker
impl<'de> Deserialize<'de> for RollingWindowTicker
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 RollingWindowTicker
impl RefUnwindSafe for RollingWindowTicker
impl Send for RollingWindowTicker
impl Sync for RollingWindowTicker
impl Unpin for RollingWindowTicker
impl UnwindSafe for RollingWindowTicker
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