pub enum ProcessResult {
SkillTriggered {
skill_id: String,
confidence: f32,
},
WorkflowTriggered {
workflow_id: String,
inputs: HashMap<String, String>,
},
Continue,
}Expand description
Trigger type detection result
Variants§
SkillTriggered
A skill was triggered
WorkflowTriggered
A workflow was triggered
Continue
Continue normal processing
Trait Implementations§
Source§impl Clone for ProcessResult
impl Clone for ProcessResult
Source§fn clone(&self) -> ProcessResult
fn clone(&self) -> ProcessResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ProcessResult
impl Debug for ProcessResult
Source§impl PartialEq for ProcessResult
impl PartialEq for ProcessResult
Source§fn eq(&self, other: &ProcessResult) -> bool
fn eq(&self, other: &ProcessResult) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ProcessResult
Auto Trait Implementations§
impl Freeze for ProcessResult
impl RefUnwindSafe for ProcessResult
impl Send for ProcessResult
impl Sync for ProcessResult
impl Unpin for ProcessResult
impl UnsafeUnpin for ProcessResult
impl UnwindSafe for ProcessResult
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