pub enum OutcomeResult {
Win,
Loss,
Breakeven,
}Expand description
Coarse win/loss classification of a closed trade.
Variants§
Implementations§
Source§impl OutcomeResult
impl OutcomeResult
Trait Implementations§
Source§impl Clone for OutcomeResult
impl Clone for OutcomeResult
Source§fn clone(&self) -> OutcomeResult
fn clone(&self) -> OutcomeResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 OutcomeResult
impl Debug for OutcomeResult
Source§impl<'de> Deserialize<'de> for OutcomeResult
impl<'de> Deserialize<'de> for OutcomeResult
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 PartialEq for OutcomeResult
impl PartialEq for OutcomeResult
Source§fn eq(&self, other: &OutcomeResult) -> bool
fn eq(&self, other: &OutcomeResult) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for OutcomeResult
impl Serialize for OutcomeResult
impl Copy for OutcomeResult
impl Eq for OutcomeResult
impl StructuralPartialEq for OutcomeResult
Auto Trait Implementations§
impl Freeze for OutcomeResult
impl RefUnwindSafe for OutcomeResult
impl Send for OutcomeResult
impl Sync for OutcomeResult
impl Unpin for OutcomeResult
impl UnsafeUnpin for OutcomeResult
impl UnwindSafe for OutcomeResult
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