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