pub struct OrderOutcome { /* private fields */ }Expand description
Outcome of the order execution
Implementations§
Source§impl OrderOutcome
impl OrderOutcome
Sourcepub fn match_result(&self) -> Option<&MatchResult>
pub fn match_result(&self) -> Option<&MatchResult>
Get the match result if the order was matched
Sourcepub fn cancel_reason(&self) -> Option<&CancelReason>
pub fn cancel_reason(&self) -> Option<&CancelReason>
Get the cancel reason, if the order was cancelled
Trait Implementations§
Source§impl Clone for OrderOutcome
impl Clone for OrderOutcome
Source§fn clone(&self) -> OrderOutcome
fn clone(&self) -> OrderOutcome
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 OrderOutcome
impl Debug for OrderOutcome
Source§impl<'de> Deserialize<'de> for OrderOutcome
impl<'de> Deserialize<'de> for OrderOutcome
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 OrderOutcome
impl Display for OrderOutcome
Auto Trait Implementations§
impl Freeze for OrderOutcome
impl RefUnwindSafe for OrderOutcome
impl Send for OrderOutcome
impl Sync for OrderOutcome
impl Unpin for OrderOutcome
impl UnsafeUnpin for OrderOutcome
impl UnwindSafe for OrderOutcome
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