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