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