pub struct DaemonMemoryConfig {
pub shared_write_roles: Vec<String>,
}Expand description
Memory access control configuration for the daemon.
Controls which users can write to shared institutional memory.
Fields§
Roles that are allowed to write to shared institutional memory.
When empty (the default), all users can write — backward compatible. When non-empty, only users with at least one of these roles can write.
Example: ["admin", "knowledge_manager"]
Trait Implementations§
Source§impl Clone for DaemonMemoryConfig
impl Clone for DaemonMemoryConfig
Source§fn clone(&self) -> DaemonMemoryConfig
fn clone(&self) -> DaemonMemoryConfig
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 DaemonMemoryConfig
impl Debug for DaemonMemoryConfig
Source§impl Default for DaemonMemoryConfig
impl Default for DaemonMemoryConfig
Source§fn default() -> DaemonMemoryConfig
fn default() -> DaemonMemoryConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DaemonMemoryConfig
impl<'de> Deserialize<'de> for DaemonMemoryConfig
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 DaemonMemoryConfig
impl RefUnwindSafe for DaemonMemoryConfig
impl Send for DaemonMemoryConfig
impl Sync for DaemonMemoryConfig
impl Unpin for DaemonMemoryConfig
impl UnsafeUnpin for DaemonMemoryConfig
impl UnwindSafe for DaemonMemoryConfig
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