Enum AgentObservationKind
pub enum AgentObservationKind {
UserInput,
ToolResult,
RetrievedContext,
Memory,
SystemEvent,
Error,
Custom,
}Variants§
Implementations§
§impl AgentObservationKind
impl AgentObservationKind
pub const ALL: &'static [AgentObservationKind]
pub const fn as_str(self) -> &'static str
Trait Implementations§
§impl Clone for AgentObservationKind
impl Clone for AgentObservationKind
§fn clone(&self) -> AgentObservationKind
fn clone(&self) -> AgentObservationKind
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 AgentObservationKind
impl Debug for AgentObservationKind
§impl Display for AgentObservationKind
impl Display for AgentObservationKind
§impl FromStr for AgentObservationKind
impl FromStr for AgentObservationKind
§type Err = AgentError
type Err = AgentError
The associated error which can be returned from parsing.
§fn from_str(
value: &str,
) -> Result<AgentObservationKind, <AgentObservationKind as FromStr>::Err>
fn from_str( value: &str, ) -> Result<AgentObservationKind, <AgentObservationKind as FromStr>::Err>
Parses a string
s to return a value of this type. Read more§impl Hash for AgentObservationKind
impl Hash for AgentObservationKind
§impl Ord for AgentObservationKind
impl Ord for AgentObservationKind
§fn cmp(&self, other: &AgentObservationKind) -> Ordering
fn cmp(&self, other: &AgentObservationKind) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
§impl PartialEq for AgentObservationKind
impl PartialEq for AgentObservationKind
§impl PartialOrd for AgentObservationKind
impl PartialOrd for AgentObservationKind
impl Copy for AgentObservationKind
impl Eq for AgentObservationKind
impl StructuralPartialEq for AgentObservationKind
Auto Trait Implementations§
impl Freeze for AgentObservationKind
impl RefUnwindSafe for AgentObservationKind
impl Send for AgentObservationKind
impl Sync for AgentObservationKind
impl Unpin for AgentObservationKind
impl UnsafeUnpin for AgentObservationKind
impl UnwindSafe for AgentObservationKind
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