pub struct AutoTriggerConfig {
pub enabled: bool,
pub triggers: Vec<TriggerCondition>,
}Expand description
Auto-trigger configuration for skills.
Fields§
§enabled: boolWhether auto-triggering is enabled.
triggers: Vec<TriggerCondition>Trigger conditions.
Trait Implementations§
Source§impl Clone for AutoTriggerConfig
impl Clone for AutoTriggerConfig
Source§fn clone(&self) -> AutoTriggerConfig
fn clone(&self) -> AutoTriggerConfig
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 AutoTriggerConfig
impl Debug for AutoTriggerConfig
Source§impl Default for AutoTriggerConfig
impl Default for AutoTriggerConfig
Source§fn default() -> AutoTriggerConfig
fn default() -> AutoTriggerConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AutoTriggerConfig
impl<'de> Deserialize<'de> for AutoTriggerConfig
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 AutoTriggerConfig
impl RefUnwindSafe for AutoTriggerConfig
impl Send for AutoTriggerConfig
impl Sync for AutoTriggerConfig
impl Unpin for AutoTriggerConfig
impl UnsafeUnpin for AutoTriggerConfig
impl UnwindSafe for AutoTriggerConfig
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