pub enum L2BookUpdate {
Snapshot(L2BookSnapshot),
Diff(L2BookDiff),
}Expand description
L2 book update — either a full snapshot or an incremental diff.
Variants§
Snapshot(L2BookSnapshot)
Diff(L2BookDiff)
Trait Implementations§
Source§impl Clone for L2BookUpdate
impl Clone for L2BookUpdate
Source§fn clone(&self) -> L2BookUpdate
fn clone(&self) -> L2BookUpdate
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 L2BookUpdate
impl Debug for L2BookUpdate
Source§impl<'de> Deserialize<'de> for L2BookUpdate
impl<'de> Deserialize<'de> for L2BookUpdate
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 L2BookUpdate
impl RefUnwindSafe for L2BookUpdate
impl Send for L2BookUpdate
impl Sync for L2BookUpdate
impl Unpin for L2BookUpdate
impl UnsafeUnpin for L2BookUpdate
impl UnwindSafe for L2BookUpdate
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