#[repr(C)]pub struct OrderBookDeltaFfi {
pub instrument_id: InstrumentId,
pub action: BookAction,
pub order: BookOrderFfi,
pub flags: u8,
pub sequence: u64,
pub ts_event: UnixNanos,
pub ts_init: UnixNanos,
}Expand description
The stable C representation of an OrderBookDelta.
Fields§
§instrument_id: InstrumentId§action: BookAction§order: BookOrderFfi§flags: u8§sequence: u64§ts_event: UnixNanos§ts_init: UnixNanosTrait Implementations§
Source§impl Clone for OrderBookDeltaFfi
impl Clone for OrderBookDeltaFfi
Source§fn clone(&self) -> OrderBookDeltaFfi
fn clone(&self) -> OrderBookDeltaFfi
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 OrderBookDeltaFfi
Source§impl Debug for OrderBookDeltaFfi
impl Debug for OrderBookDeltaFfi
Source§impl From<OrderBookDelta> for OrderBookDeltaFfi
impl From<OrderBookDelta> for OrderBookDeltaFfi
Source§fn from(value: OrderBookDelta) -> Self
fn from(value: OrderBookDelta) -> Self
Converts to this type from the input type.
Source§impl From<OrderBookDeltaFfi> for OrderBookDelta
impl From<OrderBookDeltaFfi> for OrderBookDelta
Source§fn from(value: OrderBookDeltaFfi) -> Self
fn from(value: OrderBookDeltaFfi) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for OrderBookDeltaFfi
impl RefUnwindSafe for OrderBookDeltaFfi
impl Send for OrderBookDeltaFfi
impl Sync for OrderBookDeltaFfi
impl Unpin for OrderBookDeltaFfi
impl UnsafeUnpin for OrderBookDeltaFfi
impl UnwindSafe for OrderBookDeltaFfi
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