pub struct ScenarioReplayConfig {
pub enabled: bool,
pub default_mode: String,
pub active_scenarios: Vec<String>,
}Expand description
Scenario replay configuration
Fields§
§enabled: boolWhether scenario replay is enabled
default_mode: StringDefault replay mode (strict or flex)
active_scenarios: Vec<String>List of scenario IDs to activate on startup
Trait Implementations§
Source§impl Clone for ScenarioReplayConfig
impl Clone for ScenarioReplayConfig
Source§fn clone(&self) -> ScenarioReplayConfig
fn clone(&self) -> ScenarioReplayConfig
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 ScenarioReplayConfig
impl Debug for ScenarioReplayConfig
Source§impl Default for ScenarioReplayConfig
impl Default for ScenarioReplayConfig
Source§impl<'de> Deserialize<'de> for ScenarioReplayConfigwhere
ScenarioReplayConfig: Default,
impl<'de> Deserialize<'de> for ScenarioReplayConfigwhere
ScenarioReplayConfig: Default,
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 ScenarioReplayConfig
impl RefUnwindSafe for ScenarioReplayConfig
impl Send for ScenarioReplayConfig
impl Sync for ScenarioReplayConfig
impl Unpin for ScenarioReplayConfig
impl UnsafeUnpin for ScenarioReplayConfig
impl UnwindSafe for ScenarioReplayConfig
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