pub enum RecommendedStrategy {
TrendFollowing,
MeanReversion,
ReducedExposure,
StayCash,
}Variants§
Trait Implementations§
Source§impl Clone for RecommendedStrategy
impl Clone for RecommendedStrategy
Source§fn clone(&self) -> RecommendedStrategy
fn clone(&self) -> RecommendedStrategy
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 RecommendedStrategy
impl Debug for RecommendedStrategy
Source§impl<'de> Deserialize<'de> for RecommendedStrategy
impl<'de> Deserialize<'de> for RecommendedStrategy
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 RecommendedStrategy
impl Display for RecommendedStrategy
Source§impl From<&MarketRegime> for RecommendedStrategy
impl From<&MarketRegime> for RecommendedStrategy
Source§fn from(regime: &MarketRegime) -> Self
fn from(regime: &MarketRegime) -> Self
Converts to this type from the input type.
Source§impl Hash for RecommendedStrategy
impl Hash for RecommendedStrategy
Source§impl PartialEq for RecommendedStrategy
impl PartialEq for RecommendedStrategy
Source§impl Serialize for RecommendedStrategy
impl Serialize for RecommendedStrategy
impl Copy for RecommendedStrategy
impl Eq for RecommendedStrategy
impl StructuralPartialEq for RecommendedStrategy
Auto Trait Implementations§
impl Freeze for RecommendedStrategy
impl RefUnwindSafe for RecommendedStrategy
impl Send for RecommendedStrategy
impl Sync for RecommendedStrategy
impl Unpin for RecommendedStrategy
impl UnsafeUnpin for RecommendedStrategy
impl UnwindSafe for RecommendedStrategy
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