pub struct IntraDaySchemaConfig {
pub enabled: bool,
pub segments: Vec<IntraDaySegmentSchemaConfig>,
}Expand description
Intra-day patterns configuration.
Defines time-of-day segments with different activity multipliers for realistic modeling of morning spikes, lunch dips, and end-of-day rushes.
Fields§
§enabled: boolEnable intra-day patterns.
segments: Vec<IntraDaySegmentSchemaConfig>Custom intra-day segments.
Trait Implementations§
Source§impl Clone for IntraDaySchemaConfig
impl Clone for IntraDaySchemaConfig
Source§fn clone(&self) -> IntraDaySchemaConfig
fn clone(&self) -> IntraDaySchemaConfig
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 IntraDaySchemaConfig
impl Debug for IntraDaySchemaConfig
Source§impl Default for IntraDaySchemaConfig
impl Default for IntraDaySchemaConfig
Source§fn default() -> IntraDaySchemaConfig
fn default() -> IntraDaySchemaConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for IntraDaySchemaConfig
impl<'de> Deserialize<'de> for IntraDaySchemaConfig
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 IntraDaySchemaConfig
impl RefUnwindSafe for IntraDaySchemaConfig
impl Send for IntraDaySchemaConfig
impl Sync for IntraDaySchemaConfig
impl Unpin for IntraDaySchemaConfig
impl UnwindSafe for IntraDaySchemaConfig
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