pub enum ActionType {
Operation,
ToolCall,
ModelQuery,
Decision,
Communication,
Observation,
MemoryAccess,
}Expand description
Type of action an agent can take.
Variants§
Operation
Direct system operation
ToolCall
External tool invocation
ModelQuery
LLM inference
Decision
Deliberation/choice
Communication
Message another agent
Observation
Sense/perceive environment
MemoryAccess
Read/write memory
Trait Implementations§
Source§impl Clone for ActionType
impl Clone for ActionType
Source§fn clone(&self) -> ActionType
fn clone(&self) -> ActionType
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 ComposeSchema for ActionType
impl ComposeSchema for ActionType
Source§impl Debug for ActionType
impl Debug for ActionType
Source§impl Default for ActionType
impl Default for ActionType
Source§fn default() -> ActionType
fn default() -> ActionType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ActionType
impl<'de> Deserialize<'de> for ActionType
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 Hash for ActionType
impl Hash for ActionType
Source§impl PartialEq for ActionType
impl PartialEq for ActionType
Source§impl Serialize for ActionType
impl Serialize for ActionType
Source§impl ToSchema for ActionType
impl ToSchema for ActionType
impl Copy for ActionType
impl Eq for ActionType
impl StructuralPartialEq for ActionType
Auto Trait Implementations§
impl Freeze for ActionType
impl RefUnwindSafe for ActionType
impl Send for ActionType
impl Sync for ActionType
impl Unpin for ActionType
impl UnwindSafe for ActionType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.