Struct rust_ob::OrderMatch
source · pub struct OrderMatch {
pub order: u128,
pub quantity: Decimal,
pub cost: Decimal,
}
Fields§
§order: u128
§quantity: Decimal
§cost: Decimal
Trait Implementations§
source§impl Clone for OrderMatch
impl Clone for OrderMatch
source§fn clone(&self) -> OrderMatch
fn clone(&self) -> OrderMatch
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 OrderMatch
impl Debug for OrderMatch
source§impl PartialEq<OrderMatch> for OrderMatch
impl PartialEq<OrderMatch> for OrderMatch
source§fn eq(&self, other: &OrderMatch) -> bool
fn eq(&self, other: &OrderMatch) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for OrderMatch
Auto Trait Implementations§
impl RefUnwindSafe for OrderMatch
impl Send for OrderMatch
impl Sync for OrderMatch
impl Unpin for OrderMatch
impl UnwindSafe for OrderMatch
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