pub struct Level2UpdateRecord {
pub side: OrderSide,
pub price: Decimal,
pub size: Decimal,
}Expand description
This struct represents the level 2 update record
Fields§
§side: OrderSide§price: Decimal§size: DecimalTrait Implementations§
Source§impl Clone for Level2UpdateRecord
impl Clone for Level2UpdateRecord
Source§fn clone(&self) -> Level2UpdateRecord
fn clone(&self) -> Level2UpdateRecord
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 Level2UpdateRecord
impl Debug for Level2UpdateRecord
Source§impl<'de> Deserialize<'de> for Level2UpdateRecord
impl<'de> Deserialize<'de> for Level2UpdateRecord
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 From<&Level2UpdateRecord> for AskBid
impl From<&Level2UpdateRecord> for AskBid
Source§fn from(record: &Level2UpdateRecord) -> Self
fn from(record: &Level2UpdateRecord) -> Self
Converts to this type from the input type.
Source§impl PartialEq for Level2UpdateRecord
impl PartialEq for Level2UpdateRecord
impl StructuralPartialEq for Level2UpdateRecord
Auto Trait Implementations§
impl Freeze for Level2UpdateRecord
impl RefUnwindSafe for Level2UpdateRecord
impl Send for Level2UpdateRecord
impl Sync for Level2UpdateRecord
impl Unpin for Level2UpdateRecord
impl UnwindSafe for Level2UpdateRecord
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