pub struct MatchResult { /* private fields */ }Expand description
Result of a match operation
Implementations§
Source§impl MatchResult
impl MatchResult
Sourcepub fn taker_side(&self) -> Side
pub fn taker_side(&self) -> Side
Get the side of the taker order
Sourcepub fn executed_quantity(&self) -> Quantity
pub fn executed_quantity(&self) -> Quantity
Get the total executed quantity during the match
Sourcepub fn executed_value(&self) -> Notional
pub fn executed_value(&self) -> Notional
Get the total value of the trades made during the match
Sourcepub fn last_trade_price(&self) -> Option<Price>
pub fn last_trade_price(&self) -> Option<Price>
Get the price of the last trade made during the match
Trait Implementations§
Source§impl Clone for MatchResult
impl Clone for MatchResult
Source§fn clone(&self) -> MatchResult
fn clone(&self) -> MatchResult
Returns a duplicate 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 MatchResult
impl Debug for MatchResult
Source§impl<'de> Deserialize<'de> for MatchResult
impl<'de> Deserialize<'de> for MatchResult
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 Display for MatchResult
impl Display for MatchResult
Auto Trait Implementations§
impl Freeze for MatchResult
impl RefUnwindSafe for MatchResult
impl Send for MatchResult
impl Sync for MatchResult
impl Unpin for MatchResult
impl UnsafeUnpin for MatchResult
impl UnwindSafe for MatchResult
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