pub struct MemoryScope {
pub tenant_id: String,
pub namespace: String,
pub actor_id: String,
pub conversation_id: Option<String>,
pub session_id: Option<String>,
pub source: String,
pub labels: Vec<String>,
pub trust_level: MemoryTrustLevel,
}Fields§
§tenant_id: String§namespace: String§actor_id: String§conversation_id: Option<String>§session_id: Option<String>§source: String§labels: Vec<String>§trust_level: MemoryTrustLevelTrait Implementations§
Source§impl Clone for MemoryScope
impl Clone for MemoryScope
Source§fn clone(&self) -> MemoryScope
fn clone(&self) -> MemoryScope
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MemoryScope
impl Debug for MemoryScope
Source§impl Default for MemoryScope
impl Default for MemoryScope
Source§fn default() -> MemoryScope
fn default() -> MemoryScope
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MemoryScope
impl<'de> Deserialize<'de> for MemoryScope
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for MemoryScope
impl PartialEq for MemoryScope
Source§fn eq(&self, other: &MemoryScope) -> bool
fn eq(&self, other: &MemoryScope) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for MemoryScope
impl Serialize for MemoryScope
impl Eq for MemoryScope
impl StructuralPartialEq for MemoryScope
Auto Trait Implementations§
impl Freeze for MemoryScope
impl RefUnwindSafe for MemoryScope
impl Send for MemoryScope
impl Sync for MemoryScope
impl Unpin for MemoryScope
impl UnsafeUnpin for MemoryScope
impl UnwindSafe for MemoryScope
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