#[repr(C)]pub struct BookOrderFfi {
pub side: OrderSideOptional,
pub price: Price,
pub size: Quantity,
pub order_id: u64,
}Expand description
The stable C representation of a BookOrder.
Fields§
§side: OrderSideOptionalThe order side, including the legacy zero value.
price: PriceThe order price.
size: QuantityThe order size.
order_id: u64The order ID.
Trait Implementations§
Source§impl Clone for BookOrderFfi
impl Clone for BookOrderFfi
Source§fn clone(&self) -> BookOrderFfi
fn clone(&self) -> BookOrderFfi
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 BookOrderFfi
Source§impl Debug for BookOrderFfi
impl Debug for BookOrderFfi
Source§impl From<BookOrder> for BookOrderFfi
impl From<BookOrder> for BookOrderFfi
Source§impl From<BookOrderFfi> for BookOrder
impl From<BookOrderFfi> for BookOrder
Source§fn from(value: BookOrderFfi) -> Self
fn from(value: BookOrderFfi) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for BookOrderFfi
impl RefUnwindSafe for BookOrderFfi
impl Send for BookOrderFfi
impl Sync for BookOrderFfi
impl Unpin for BookOrderFfi
impl UnsafeUnpin for BookOrderFfi
impl UnwindSafe for BookOrderFfi
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