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