pub struct RollingWindowTickerMini {
pub symbol: String,
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 (MINI).
Fields§
§symbol: StringSymbol.
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 RollingWindowTickerMini
impl Clone for RollingWindowTickerMini
Source§fn clone(&self) -> RollingWindowTickerMini
fn clone(&self) -> RollingWindowTickerMini
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 RollingWindowTickerMini
impl Debug for RollingWindowTickerMini
Source§impl<'de> Deserialize<'de> for RollingWindowTickerMini
impl<'de> Deserialize<'de> for RollingWindowTickerMini
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 RollingWindowTickerMini
impl RefUnwindSafe for RollingWindowTickerMini
impl Send for RollingWindowTickerMini
impl Sync for RollingWindowTickerMini
impl Unpin for RollingWindowTickerMini
impl UnwindSafe for RollingWindowTickerMini
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