pub struct StrategyGroup {
pub id: String,
pub name: String,
pub vault_address: Option<String>,
pub is_active: bool,
pub created_at: String,
pub symbol: String,
pub interval_secs: u64,
pub regime_rules: Vec<RegimeRule>,
pub default_regime: String,
pub hysteresis: HysteresisConfig,
pub playbooks: HashMap<String, Playbook>,
}Fields§
§id: String§name: String§vault_address: Option<String>§is_active: bool§created_at: String§symbol: String§interval_secs: u64§regime_rules: Vec<RegimeRule>§default_regime: String§hysteresis: HysteresisConfig§playbooks: HashMap<String, Playbook>Trait Implementations§
Source§impl Clone for StrategyGroup
impl Clone for StrategyGroup
Source§fn clone(&self) -> StrategyGroup
fn clone(&self) -> StrategyGroup
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 StrategyGroup
impl Debug for StrategyGroup
Source§impl<'de> Deserialize<'de> for StrategyGroup
impl<'de> Deserialize<'de> for StrategyGroup
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
Auto Trait Implementations§
impl Freeze for StrategyGroup
impl RefUnwindSafe for StrategyGroup
impl Send for StrategyGroup
impl Sync for StrategyGroup
impl Unpin for StrategyGroup
impl UnsafeUnpin for StrategyGroup
impl UnwindSafe for StrategyGroup
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