pub enum TriggerCondition {
OnFileEdit {
glob: String,
},
OnLLMPreRequest,
OnLLMPostResponse,
OnEvent {
kind: String,
},
Interval {
seconds: u64,
},
}Expand description
Trigger condition for auto-firing skills.
Variants§
OnFileEdit
On file edit matching glob.
OnLLMPreRequest
Before LLM request.
OnLLMPostResponse
After LLM response.
OnEvent
On custom event.
Interval
Periodic interval.
Trait Implementations§
Source§impl Clone for TriggerCondition
impl Clone for TriggerCondition
Source§fn clone(&self) -> TriggerCondition
fn clone(&self) -> TriggerCondition
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 TriggerCondition
impl Debug for TriggerCondition
Source§impl<'de> Deserialize<'de> for TriggerCondition
impl<'de> Deserialize<'de> for TriggerCondition
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 TriggerCondition
impl RefUnwindSafe for TriggerCondition
impl Send for TriggerCondition
impl Sync for TriggerCondition
impl Unpin for TriggerCondition
impl UnsafeUnpin for TriggerCondition
impl UnwindSafe for TriggerCondition
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