Enum AgentActionKind
pub enum AgentActionKind {
Respond,
AskClarification,
CallTool,
Retrieve,
Plan,
Delegate,
Stop,
Custom,
}Variants§
Implementations§
§impl AgentActionKind
impl AgentActionKind
pub const ALL: &'static [AgentActionKind]
pub const fn as_str(self) -> &'static str
Trait Implementations§
§impl Clone for AgentActionKind
impl Clone for AgentActionKind
§fn clone(&self) -> AgentActionKind
fn clone(&self) -> AgentActionKind
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 more§impl Debug for AgentActionKind
impl Debug for AgentActionKind
§impl Display for AgentActionKind
impl Display for AgentActionKind
§impl FromStr for AgentActionKind
impl FromStr for AgentActionKind
§type Err = AgentError
type Err = AgentError
The associated error which can be returned from parsing.
§fn from_str(
value: &str,
) -> Result<AgentActionKind, <AgentActionKind as FromStr>::Err>
fn from_str( value: &str, ) -> Result<AgentActionKind, <AgentActionKind as FromStr>::Err>
Parses a string
s to return a value of this type. Read more§impl Hash for AgentActionKind
impl Hash for AgentActionKind
§impl Ord for AgentActionKind
impl Ord for AgentActionKind
§impl PartialEq for AgentActionKind
impl PartialEq for AgentActionKind
§impl PartialOrd for AgentActionKind
impl PartialOrd for AgentActionKind
impl Copy for AgentActionKind
impl Eq for AgentActionKind
impl StructuralPartialEq for AgentActionKind
Auto Trait Implementations§
impl Freeze for AgentActionKind
impl RefUnwindSafe for AgentActionKind
impl Send for AgentActionKind
impl Sync for AgentActionKind
impl Unpin for AgentActionKind
impl UnsafeUnpin for AgentActionKind
impl UnwindSafe for AgentActionKind
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