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