pub struct InterventionSchemaConfig {
pub intervention_type: Value,
pub timing: InterventionTimingSchemaConfig,
pub label: Option<String>,
pub priority: u32,
}Expand description
An intervention definition in the config.
Fields§
§intervention_type: ValueIntervention type and parameters (flattened tagged enum).
timing: InterventionTimingSchemaConfigTiming configuration.
label: Option<String>Human-readable label.
priority: u32Priority for conflict resolution (higher wins).
Trait Implementations§
Source§impl Clone for InterventionSchemaConfig
impl Clone for InterventionSchemaConfig
Source§fn clone(&self) -> InterventionSchemaConfig
fn clone(&self) -> InterventionSchemaConfig
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 InterventionSchemaConfig
impl Debug for InterventionSchemaConfig
Source§impl<'de> Deserialize<'de> for InterventionSchemaConfig
impl<'de> Deserialize<'de> for InterventionSchemaConfig
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 InterventionSchemaConfig
impl RefUnwindSafe for InterventionSchemaConfig
impl Send for InterventionSchemaConfig
impl Sync for InterventionSchemaConfig
impl Unpin for InterventionSchemaConfig
impl UnsafeUnpin for InterventionSchemaConfig
impl UnwindSafe for InterventionSchemaConfig
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