pub struct ReplayAugmentationConfig {
pub mode: ReplayMode,
pub narrative: Option<String>,
pub event_type: String,
pub event_schema: Option<Value>,
pub strategy: EventStrategy,
pub duration_secs: Option<u64>,
pub event_count: Option<usize>,
pub event_rate: Option<f64>,
pub conditions: Vec<EventCondition>,
pub rag_config: Option<RagConfig>,
pub progressive_evolution: bool,
}Expand description
Replay augmentation configuration
Fields§
§mode: ReplayModeReplay mode
narrative: Option<String>Narrative description of the scenario
event_type: StringEvent type/name
event_schema: Option<Value>Event schema (optional JSON schema)
strategy: EventStrategyEvent generation strategy
duration_secs: Option<u64>Duration to replay (for time-based)
event_count: Option<usize>Number of events to generate (for count-based)
event_rate: Option<f64>Event rate (events per second)
conditions: Vec<EventCondition>Conditions for event generation
rag_config: Option<RagConfig>RAG configuration for LLM
progressive_evolution: boolEnable progressive scenario evolution
Trait Implementations§
Source§impl Clone for ReplayAugmentationConfig
impl Clone for ReplayAugmentationConfig
Source§fn clone(&self) -> ReplayAugmentationConfig
fn clone(&self) -> ReplayAugmentationConfig
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 ReplayAugmentationConfig
impl Debug for ReplayAugmentationConfig
Source§impl Default for ReplayAugmentationConfig
impl Default for ReplayAugmentationConfig
Source§impl<'de> Deserialize<'de> for ReplayAugmentationConfig
impl<'de> Deserialize<'de> for ReplayAugmentationConfig
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 ReplayAugmentationConfig
impl RefUnwindSafe for ReplayAugmentationConfig
impl Send for ReplayAugmentationConfig
impl Sync for ReplayAugmentationConfig
impl Unpin for ReplayAugmentationConfig
impl UnwindSafe for ReplayAugmentationConfig
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