#[non_exhaustive]pub struct AveragePrice {
pub symbol: Symbol,
pub interval: Option<String>,
pub price: Decimal,
pub event_time: Option<OffsetDateTime>,
pub last_trade_time: Option<OffsetDateTime>,
pub extensions: Extensions,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.symbol: Symbol§interval: Option<String>§price: Decimal§event_time: Option<OffsetDateTime>§last_trade_time: Option<OffsetDateTime>§extensions: ExtensionsImplementations§
Source§impl AveragePrice
impl AveragePrice
Trait Implementations§
Source§impl Clone for AveragePrice
impl Clone for AveragePrice
Source§fn clone(&self) -> AveragePrice
fn clone(&self) -> AveragePrice
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AveragePrice
impl Debug for AveragePrice
Source§impl PartialEq for AveragePrice
impl PartialEq for AveragePrice
Source§fn eq(&self, other: &AveragePrice) -> bool
fn eq(&self, other: &AveragePrice) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AveragePrice
Auto Trait Implementations§
impl Freeze for AveragePrice
impl RefUnwindSafe for AveragePrice
impl Send for AveragePrice
impl Sync for AveragePrice
impl Unpin for AveragePrice
impl UnsafeUnpin for AveragePrice
impl UnwindSafe for AveragePrice
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