#[non_exhaustive]pub struct BookTicker {
pub symbol: Symbol,
pub bid_price: Decimal,
pub bid_quantity: Decimal,
pub ask_price: Decimal,
pub ask_quantity: Decimal,
pub last_update_id: Option<String>,
pub timestamp: 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§bid_price: Decimal§bid_quantity: Decimal§ask_price: Decimal§ask_quantity: Decimal§last_update_id: Option<String>§timestamp: Option<OffsetDateTime>§extensions: ExtensionsImplementations§
Source§impl BookTicker
impl BookTicker
Trait Implementations§
Source§impl Clone for BookTicker
impl Clone for BookTicker
Source§fn clone(&self) -> BookTicker
fn clone(&self) -> BookTicker
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 BookTicker
impl Debug for BookTicker
Source§impl PartialEq for BookTicker
impl PartialEq for BookTicker
Source§fn eq(&self, other: &BookTicker) -> bool
fn eq(&self, other: &BookTicker) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BookTicker
Auto Trait Implementations§
impl Freeze for BookTicker
impl RefUnwindSafe for BookTicker
impl Send for BookTicker
impl Sync for BookTicker
impl Unpin for BookTicker
impl UnsafeUnpin for BookTicker
impl UnwindSafe for BookTicker
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