pub struct L4Diff {
pub diff_type: String,
pub oid: u64,
pub side: String,
pub price: f64,
pub new_size: Option<f64>,
pub user_address: String,
pub block_number: u64,
}Expand description
An L4 diff to apply to the order book.
Fields§
§diff_type: String§oid: u64§side: String§price: f64§new_size: Option<f64>§user_address: String§block_number: u64Trait Implementations§
Auto Trait Implementations§
impl Freeze for L4Diff
impl RefUnwindSafe for L4Diff
impl Send for L4Diff
impl Sync for L4Diff
impl Unpin for L4Diff
impl UnsafeUnpin for L4Diff
impl UnwindSafe for L4Diff
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