#[repr(C)]pub struct OrderBookDepth10Ffi {
pub instrument_id: InstrumentId,
pub bids: [BookOrderFfi; 10],
pub asks: [BookOrderFfi; 10],
pub bid_counts: [u32; 10],
pub ask_counts: [u32; 10],
pub flags: u8,
pub sequence: u64,
pub ts_event: UnixNanos,
pub ts_init: UnixNanos,
}Expand description
The stable C representation of an OrderBookDepth10.
Fields§
§instrument_id: InstrumentId§bids: [BookOrderFfi; 10]§asks: [BookOrderFfi; 10]§bid_counts: [u32; 10]§ask_counts: [u32; 10]§flags: u8§sequence: u64§ts_event: UnixNanos§ts_init: UnixNanosTrait Implementations§
Source§impl Clone for OrderBookDepth10Ffi
impl Clone for OrderBookDepth10Ffi
Source§fn clone(&self) -> OrderBookDepth10Ffi
fn clone(&self) -> OrderBookDepth10Ffi
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 moreimpl Copy for OrderBookDepth10Ffi
Source§impl Debug for OrderBookDepth10Ffi
impl Debug for OrderBookDepth10Ffi
Source§impl From<OrderBookDepth10> for OrderBookDepth10Ffi
impl From<OrderBookDepth10> for OrderBookDepth10Ffi
Source§fn from(value: OrderBookDepth10) -> Self
fn from(value: OrderBookDepth10) -> Self
Converts to this type from the input type.
Source§impl From<OrderBookDepth10Ffi> for OrderBookDepth10
impl From<OrderBookDepth10Ffi> for OrderBookDepth10
Source§fn from(value: OrderBookDepth10Ffi) -> Self
fn from(value: OrderBookDepth10Ffi) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for OrderBookDepth10Ffi
impl RefUnwindSafe for OrderBookDepth10Ffi
impl Send for OrderBookDepth10Ffi
impl Sync for OrderBookDepth10Ffi
impl Unpin for OrderBookDepth10Ffi
impl UnsafeUnpin for OrderBookDepth10Ffi
impl UnwindSafe for OrderBookDepth10Ffi
Blanket Implementations§
impl<T> Allocation for T
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