pub struct MemSubject {
pub scope: String,
pub method: Option<String>,
pub exclusions: Vec<String>,
}Expand description
The subject block of a mem — what it covers, by what method, and
above all what was considered and deliberately left out. Exactly
three members, by design: every additional slot invites the
working-notes leakage this block exists to avoid, and three is what
a recipient can actually read before deciding whether to trust the
mem. Published verbatim in PublishedMemConfig; the engine never
parses, links, or validates the prose.
Fields§
§scope: StringWhat this mem covers.
method: Option<String>How its content was arrived at.
exclusions: Vec<String>What was considered and deliberately left out — prose statements, order preserved. May be empty.
Trait Implementations§
Source§impl Clone for MemSubject
impl Clone for MemSubject
Source§fn clone(&self) -> MemSubject
fn clone(&self) -> MemSubject
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 MemSubject
impl Debug for MemSubject
Source§impl<'de> Deserialize<'de> for MemSubject
impl<'de> Deserialize<'de> for MemSubject
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
impl Eq for MemSubject
Source§impl PartialEq for MemSubject
impl PartialEq for MemSubject
Source§impl Serialize for MemSubject
impl Serialize for MemSubject
impl StructuralPartialEq for MemSubject
Auto Trait Implementations§
impl Freeze for MemSubject
impl RefUnwindSafe for MemSubject
impl Send for MemSubject
impl Sync for MemSubject
impl Unpin for MemSubject
impl UnsafeUnpin for MemSubject
impl UnwindSafe for MemSubject
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.