#[repr(C)]pub struct OrderBookDeltas_API(/* private fields */);
Expand description
C compatible Foreign Function Interface (FFI) for an underlying OrderBookDeltas
.
This struct wraps OrderBookDeltas
in a way that makes it compatible with C function
calls, enabling interaction with OrderBookDeltas
in a C environment.
It implements the Deref
trait, allowing instances of OrderBookDeltas_API
to be
dereferenced to OrderBookDeltas
, providing access to OrderBookDeltas
’s methods without
having to manually access the underlying OrderBookDeltas
instance.
Implementations§
Source§impl OrderBookDeltas_API
impl OrderBookDeltas_API
pub fn new(deltas: OrderBookDeltas) -> Self
Sourcepub fn into_inner(self) -> OrderBookDeltas
pub fn into_inner(self) -> OrderBookDeltas
Consumes the wrapper and returns the inner OrderBookDeltas
.
Trait Implementations§
Source§impl Clone for OrderBookDeltas_API
impl Clone for OrderBookDeltas_API
Source§fn clone(&self) -> OrderBookDeltas_API
fn clone(&self) -> OrderBookDeltas_API
Returns a copy 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 OrderBookDeltas_API
impl Debug for OrderBookDeltas_API
Source§impl Deref for OrderBookDeltas_API
impl Deref for OrderBookDeltas_API
Source§impl DerefMut for OrderBookDeltas_API
impl DerefMut for OrderBookDeltas_API
Source§impl<'de> Deserialize<'de> for OrderBookDeltas_API
impl<'de> Deserialize<'de> for OrderBookDeltas_API
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<OrderBookDeltas_API> for Data
impl From<OrderBookDeltas_API> for Data
Source§fn from(value: OrderBookDeltas_API) -> Self
fn from(value: OrderBookDeltas_API) -> Self
Converts to this type from the input type.
Source§impl PartialEq for OrderBookDeltas_API
impl PartialEq for OrderBookDeltas_API
Source§impl Serialize for OrderBookDeltas_API
impl Serialize for OrderBookDeltas_API
Source§impl TryFrom<Data> for OrderBookDeltas_API
impl TryFrom<Data> for OrderBookDeltas_API
impl StructuralPartialEq for OrderBookDeltas_API
Auto Trait Implementations§
impl Freeze for OrderBookDeltas_API
impl RefUnwindSafe for OrderBookDeltas_API
impl Send for OrderBookDeltas_API
impl Sync for OrderBookDeltas_API
impl Unpin for OrderBookDeltas_API
impl UnwindSafe for OrderBookDeltas_API
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