pub enum MemoryNamespace {
Agent(AgentId),
Team(TeamId),
Org(OrgId),
}Expand description
Where a memory item lives in the org/team/agent hierarchy. Reads cascade outward (agent → team → org); writes are gated by policy.
Variants§
Trait Implementations§
Source§impl Clone for MemoryNamespace
impl Clone for MemoryNamespace
Source§fn clone(&self) -> MemoryNamespace
fn clone(&self) -> MemoryNamespace
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 moreSource§impl Debug for MemoryNamespace
impl Debug for MemoryNamespace
Source§impl<'de> Deserialize<'de> for MemoryNamespace
impl<'de> Deserialize<'de> for MemoryNamespace
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
Auto Trait Implementations§
impl Freeze for MemoryNamespace
impl RefUnwindSafe for MemoryNamespace
impl Send for MemoryNamespace
impl Sync for MemoryNamespace
impl Unpin for MemoryNamespace
impl UnsafeUnpin for MemoryNamespace
impl UnwindSafe for MemoryNamespace
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