Struct binance::rest_model::PriceStats
source · [−]pub struct PriceStats {Show 16 fields
pub price_change: String,
pub price_change_percent: String,
pub weighted_avg_price: String,
pub prev_close_price: f64,
pub last_price: f64,
pub bid_price: f64,
pub ask_price: f64,
pub open_price: f64,
pub high_price: f64,
pub low_price: f64,
pub volume: f64,
pub open_time: u64,
pub close_time: u64,
pub first_id: u64,
pub last_id: u64,
pub count: u64,
}Fields
price_change: Stringprice_change_percent: Stringweighted_avg_price: Stringprev_close_price: f64last_price: f64bid_price: f64ask_price: f64open_price: f64high_price: f64low_price: f64volume: f64open_time: u64close_time: u64first_id: u64last_id: u64count: u64Trait Implementations
sourceimpl Clone for PriceStats
impl Clone for PriceStats
sourcefn clone(&self) -> PriceStats
fn clone(&self) -> PriceStats
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for PriceStats
impl Debug for PriceStats
sourceimpl<'de> Deserialize<'de> for PriceStats
impl<'de> Deserialize<'de> for PriceStats
sourcefn 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
sourceimpl Serialize for PriceStats
impl Serialize for PriceStats
Auto Trait Implementations
impl RefUnwindSafe for PriceStats
impl Send for PriceStats
impl Sync for PriceStats
impl Unpin for PriceStats
impl UnwindSafe for PriceStats
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more