pub enum AgentObservationKind {
UserInput,
ToolResult,
RetrievedContext,
Memory,
SystemEvent,
Error,
Custom,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for AgentObservationKind
impl Clone for AgentObservationKind
Source§fn clone(&self) -> AgentObservationKind
fn clone(&self) -> AgentObservationKind
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 AgentObservationKind
impl Debug for AgentObservationKind
Source§impl Display for AgentObservationKind
impl Display for AgentObservationKind
Source§impl FromStr for AgentObservationKind
impl FromStr for AgentObservationKind
Source§impl Hash for AgentObservationKind
impl Hash for AgentObservationKind
Source§impl Ord for AgentObservationKind
impl Ord for AgentObservationKind
Source§fn cmp(&self, other: &AgentObservationKind) -> Ordering
fn cmp(&self, other: &AgentObservationKind) -> Ordering
1.21.0 (const: unstable) · 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
Source§impl PartialEq for AgentObservationKind
impl PartialEq for AgentObservationKind
Source§fn eq(&self, other: &AgentObservationKind) -> bool
fn eq(&self, other: &AgentObservationKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§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