Enum AiParticipantKind
pub enum AiParticipantKind {
User,
Assistant,
System,
Developer,
Tool,
Agent,
Evaluator,
Observer,
Unknown,
}Variants§
Implementations§
§impl AiParticipantKind
impl AiParticipantKind
pub const ALL: &'static [AiParticipantKind]
pub const fn as_str(self) -> &'static str
Trait Implementations§
§impl Clone for AiParticipantKind
impl Clone for AiParticipantKind
§fn clone(&self) -> AiParticipantKind
fn clone(&self) -> AiParticipantKind
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 AiParticipantKind
impl Debug for AiParticipantKind
§impl Display for AiParticipantKind
impl Display for AiParticipantKind
§impl FromStr for AiParticipantKind
impl FromStr for AiParticipantKind
§type Err = AiRoleError
type Err = AiRoleError
The associated error which can be returned from parsing.
§fn from_str(
value: &str,
) -> Result<AiParticipantKind, <AiParticipantKind as FromStr>::Err>
fn from_str( value: &str, ) -> Result<AiParticipantKind, <AiParticipantKind as FromStr>::Err>
Parses a string
s to return a value of this type. Read more§impl Hash for AiParticipantKind
impl Hash for AiParticipantKind
§impl Ord for AiParticipantKind
impl Ord for AiParticipantKind
§fn cmp(&self, other: &AiParticipantKind) -> Ordering
fn cmp(&self, other: &AiParticipantKind) -> 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 AiParticipantKind
impl PartialEq for AiParticipantKind
§impl PartialOrd for AiParticipantKind
impl PartialOrd for AiParticipantKind
impl Copy for AiParticipantKind
impl Eq for AiParticipantKind
impl StructuralPartialEq for AiParticipantKind
Auto Trait Implementations§
impl Freeze for AiParticipantKind
impl RefUnwindSafe for AiParticipantKind
impl Send for AiParticipantKind
impl Sync for AiParticipantKind
impl Unpin for AiParticipantKind
impl UnsafeUnpin for AiParticipantKind
impl UnwindSafe for AiParticipantKind
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