pub enum TradeOutcome {
Win,
Loss,
BreakEven,
Expired,
}Expand description
Historic execution result of a triggered setup.
Variants§
Trait Implementations§
Source§impl Clone for TradeOutcome
impl Clone for TradeOutcome
Source§fn clone(&self) -> TradeOutcome
fn clone(&self) -> TradeOutcome
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 moreimpl Copy for TradeOutcome
Source§impl Debug for TradeOutcome
impl Debug for TradeOutcome
Source§impl<'de> Deserialize<'de> for TradeOutcome
impl<'de> Deserialize<'de> for TradeOutcome
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 TradeOutcome
impl PartialEq for TradeOutcome
Source§impl Serialize for TradeOutcome
impl Serialize for TradeOutcome
impl StructuralPartialEq for TradeOutcome
Auto Trait Implementations§
impl Freeze for TradeOutcome
impl RefUnwindSafe for TradeOutcome
impl Send for TradeOutcome
impl Sync for TradeOutcome
impl Unpin for TradeOutcome
impl UnsafeUnpin for TradeOutcome
impl UnwindSafe for TradeOutcome
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