pub struct MarketEconomicCycleSchemaConfig {
pub enabled: bool,
pub cycle_type: CycleTypeSchemaConfig,
pub period_months: u32,
pub amplitude: f64,
pub recession: RecessionSchemaConfig,
}Expand description
Market economic cycle configuration.
Fields§
§enabled: boolEnable economic cycle.
cycle_type: CycleTypeSchemaConfigCycle type.
period_months: u32Cycle period in months.
amplitude: f64Amplitude.
recession: RecessionSchemaConfigRecession configuration.
Trait Implementations§
Source§impl Clone for MarketEconomicCycleSchemaConfig
impl Clone for MarketEconomicCycleSchemaConfig
Source§fn clone(&self) -> MarketEconomicCycleSchemaConfig
fn clone(&self) -> MarketEconomicCycleSchemaConfig
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<'de> Deserialize<'de> for MarketEconomicCycleSchemaConfig
impl<'de> Deserialize<'de> for MarketEconomicCycleSchemaConfig
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 MarketEconomicCycleSchemaConfig
impl RefUnwindSafe for MarketEconomicCycleSchemaConfig
impl Send for MarketEconomicCycleSchemaConfig
impl Sync for MarketEconomicCycleSchemaConfig
impl Unpin for MarketEconomicCycleSchemaConfig
impl UnsafeUnpin for MarketEconomicCycleSchemaConfig
impl UnwindSafe for MarketEconomicCycleSchemaConfig
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