pub struct SkillConfig {
pub skill_id: String,
pub enabled: bool,
pub auto_trigger: AutoTriggerConfig,
pub params: HashMap<String, Value>,
}Expand description
Skill configuration.
Fields§
§skill_id: StringSkill ID.
enabled: boolWhether the skill is enabled.
auto_trigger: AutoTriggerConfigAuto-trigger configuration.
params: HashMap<String, Value>Custom parameters.
Implementations§
Trait Implementations§
Source§impl Clone for SkillConfig
impl Clone for SkillConfig
Source§fn clone(&self) -> SkillConfig
fn clone(&self) -> SkillConfig
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 SkillConfig
impl Debug for SkillConfig
Source§impl<'de> Deserialize<'de> for SkillConfig
impl<'de> Deserialize<'de> for SkillConfig
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 SkillConfig
impl RefUnwindSafe for SkillConfig
impl Send for SkillConfig
impl Sync for SkillConfig
impl Unpin for SkillConfig
impl UnsafeUnpin for SkillConfig
impl UnwindSafe for SkillConfig
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