pub struct MemoryEvidence {
pub run_id: Option<String>,
pub event_ids: Vec<String>,
pub correction_id: Option<String>,
pub candidate_id: Option<String>,
pub source_memory_ids: Vec<String>,
}Expand description
What a memory record was derived from: the evidence an auditor walks. Every field is optional and absent from the wire when unset — a human-authored fact may carry no derivation at all, and sparse evidence must not change the shape for dense readers.
Fields§
§run_id: Option<String>The run whose journal the record was distilled or corrected from.
event_ids: Vec<String>The journal event ids inside run_id the record draws on.
correction_id: Option<String>The correction (R0.8 wave 2) the record was derived from.
candidate_id: Option<String>The candidate (R0.8 wave 3) whose promotion carried this record.
source_memory_ids: Vec<String>The records a summary consolidated — the naming that makes
dependent-summary invalidation computable on forgetting.
Implementations§
Trait Implementations§
Source§impl Clone for MemoryEvidence
impl Clone for MemoryEvidence
Source§impl Debug for MemoryEvidence
impl Debug for MemoryEvidence
Source§impl Default for MemoryEvidence
impl Default for MemoryEvidence
Source§impl<'de> Deserialize<'de> for MemoryEvidence
impl<'de> Deserialize<'de> for MemoryEvidence
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 MemoryEvidence
Source§impl PartialEq for MemoryEvidence
impl PartialEq for MemoryEvidence
Source§impl Serialize for MemoryEvidence
impl Serialize for MemoryEvidence
impl StructuralPartialEq for MemoryEvidence
Auto Trait Implementations§
impl Freeze for MemoryEvidence
impl RefUnwindSafe for MemoryEvidence
impl Send for MemoryEvidence
impl Sync for MemoryEvidence
impl Unpin for MemoryEvidence
impl UnsafeUnpin for MemoryEvidence
impl UnwindSafe for MemoryEvidence
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