pub enum Confidentiality {
Public,
Internal,
Confidential,
Restricted,
}Expand description
Access classification for memory entries.
Ordered from least to most sensitive — PartialOrd/Ord derives use
variant declaration order, so Public < Internal < Confidential < Restricted.
Variants§
Public
Shareable with anyone (public facts, general knowledge).
Internal
Internal context (work items, project details). Shareable with Verified+ senders.
Confidential
Personal/sensitive (expenses, health, private conversations). Owner only.
Restricted
Secrets (API keys, passwords, tokens). Never included in LLM context.
Trait Implementations§
Source§impl Clone for Confidentiality
impl Clone for Confidentiality
Source§fn clone(&self) -> Confidentiality
fn clone(&self) -> Confidentiality
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 Confidentiality
impl Debug for Confidentiality
Source§impl Default for Confidentiality
impl Default for Confidentiality
Source§fn default() -> Confidentiality
fn default() -> Confidentiality
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Confidentiality
impl<'de> Deserialize<'de> for Confidentiality
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 Hash for Confidentiality
impl Hash for Confidentiality
Source§impl Ord for Confidentiality
impl Ord for Confidentiality
Source§fn cmp(&self, other: &Confidentiality) -> Ordering
fn cmp(&self, other: &Confidentiality) -> Ordering
1.21.0 (const: unstable) · 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
Source§impl PartialEq for Confidentiality
impl PartialEq for Confidentiality
Source§fn eq(&self, other: &Confidentiality) -> bool
fn eq(&self, other: &Confidentiality) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for Confidentiality
impl PartialOrd for Confidentiality
Source§impl Serialize for Confidentiality
impl Serialize for Confidentiality
impl Copy for Confidentiality
impl Eq for Confidentiality
impl StructuralPartialEq for Confidentiality
Auto Trait Implementations§
impl Freeze for Confidentiality
impl RefUnwindSafe for Confidentiality
impl Send for Confidentiality
impl Sync for Confidentiality
impl Unpin for Confidentiality
impl UnsafeUnpin for Confidentiality
impl UnwindSafe for Confidentiality
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.