pub struct MemoryForgetTombstone {
pub memory_id: String,
pub scope: ScopeAddress,
pub reason: ForgetReason,
pub invalidated: Vec<String>,
}Expand description
The journaled receipt of a forgetting — the
RunEventKind::MemoryForget event’s output payload. Metadata by
construction: the forgotten id, its scope, the reason, and the
dependent invalidations. There is no content field to leave unset — a
tombstone that could carry the forgotten bytes would be one careless
serializer away from defeating the erasure it receipts.
Fields§
§memory_id: StringThe forgotten record’s content address.
scope: ScopeAddressThe scope the record lived at.
reason: ForgetReasonWhy it was forgotten.
invalidated: Vec<String>The dependent summaries the erasure invalidated (the reverse walk
over source naming, transitively — see plan_forget). Their ids,
never their content.
Trait Implementations§
Source§impl Clone for MemoryForgetTombstone
impl Clone for MemoryForgetTombstone
Source§fn clone(&self) -> MemoryForgetTombstone
fn clone(&self) -> MemoryForgetTombstone
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 MemoryForgetTombstone
impl Debug for MemoryForgetTombstone
Source§impl<'de> Deserialize<'de> for MemoryForgetTombstone
impl<'de> Deserialize<'de> for MemoryForgetTombstone
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 MemoryForgetTombstone
Source§impl PartialEq for MemoryForgetTombstone
impl PartialEq for MemoryForgetTombstone
Source§impl Serialize for MemoryForgetTombstone
impl Serialize for MemoryForgetTombstone
impl StructuralPartialEq for MemoryForgetTombstone
Auto Trait Implementations§
impl Freeze for MemoryForgetTombstone
impl RefUnwindSafe for MemoryForgetTombstone
impl Send for MemoryForgetTombstone
impl Sync for MemoryForgetTombstone
impl Unpin for MemoryForgetTombstone
impl UnsafeUnpin for MemoryForgetTombstone
impl UnwindSafe for MemoryForgetTombstone
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