pub enum ReasonForClose {
Liquidated,
Expired,
TakeProfit,
CutLoss,
Other(String),
}Variants§
Trait Implementations§
source§impl Clone for ReasonForClose
impl Clone for ReasonForClose
source§fn clone(&self) -> ReasonForClose
fn clone(&self) -> ReasonForClose
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 ReasonForClose
impl Debug for ReasonForClose
source§impl Display for ReasonForClose
impl Display for ReasonForClose
source§impl PartialEq for ReasonForClose
impl PartialEq for ReasonForClose
source§fn eq(&self, other: &ReasonForClose) -> bool
fn eq(&self, other: &ReasonForClose) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ReasonForClose
Auto Trait Implementations§
impl RefUnwindSafe for ReasonForClose
impl Send for ReasonForClose
impl Sync for ReasonForClose
impl Unpin for ReasonForClose
impl UnwindSafe for ReasonForClose
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