pub struct BookNotification {
pub asks: Vec<(f64, f64)>,
pub bids: Vec<(f64, f64)>,
pub change_id: i64,
pub instrument_name: String,
pub timestamp: Option<i64>,
}Fields§
§asks: Vec<(f64, f64)>§bids: Vec<(f64, f64)>§change_id: i64§instrument_name: String§timestamp: Option<i64>Trait Implementations§
Source§impl Clone for BookNotification
impl Clone for BookNotification
Source§fn clone(&self) -> BookNotification
fn clone(&self) -> BookNotification
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 BookNotification
impl Debug for BookNotification
Source§impl Default for BookNotification
impl Default for BookNotification
Source§fn default() -> BookNotification
fn default() -> BookNotification
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BookNotification
impl<'de> Deserialize<'de> for BookNotification
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
Source§impl PartialEq for BookNotification
impl PartialEq for BookNotification
Source§impl Serialize for BookNotification
impl Serialize for BookNotification
impl StructuralPartialEq for BookNotification
Auto Trait Implementations§
impl Freeze for BookNotification
impl RefUnwindSafe for BookNotification
impl Send for BookNotification
impl Sync for BookNotification
impl Unpin for BookNotification
impl UnwindSafe for BookNotification
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