pub enum IntentSource {
Lua,
LlmToolCall,
System,
}Expand description
Who issued the intent.
Variants§
Lua
Lua script via orcs.dispatch() or orcs.intent().
LlmToolCall
LLM provider’s tool_calls response.
System
System-generated (timer, hook, etc.).
Trait Implementations§
Source§impl Clone for IntentSource
impl Clone for IntentSource
Source§fn clone(&self) -> IntentSource
fn clone(&self) -> IntentSource
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 IntentSource
impl Debug for IntentSource
Source§impl Default for IntentSource
impl Default for IntentSource
Source§fn default() -> IntentSource
fn default() -> IntentSource
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for IntentSource
impl<'de> Deserialize<'de> for IntentSource
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
Source§impl PartialEq for IntentSource
impl PartialEq for IntentSource
Source§impl Serialize for IntentSource
impl Serialize for IntentSource
impl Copy for IntentSource
impl Eq for IntentSource
impl StructuralPartialEq for IntentSource
Auto Trait Implementations§
impl Freeze for IntentSource
impl RefUnwindSafe for IntentSource
impl Send for IntentSource
impl Sync for IntentSource
impl Unpin for IntentSource
impl UnsafeUnpin for IntentSource
impl UnwindSafe for IntentSource
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