pub struct RecalledEntry { /* private fields */ }Expand description
One thing an earlier session left behind, as a later one reads it.
Not a MemoryEntry. An entry is what was written, with the
evidence behind it and whatever detail the writer attached; this is
what a session is handed at its opening, and it carries only what a
reader can act on without going anywhere else — what it says, what
kind of thing it is, and which session said it when.
The session and the moment travel with it because a decision nobody can attribute is not a decision a later session can weigh. The evidence does not: it is a reference into somewhere else, and a recollection that carried references the reader has no way to follow would be offering a door into a wall.
Implementations§
Source§impl RecalledEntry
impl RecalledEntry
Sourcepub fn of(entry: &MemoryEntry) -> Self
pub fn of(entry: &MemoryEntry) -> Self
Infallible: everything here was already validated when the entry was written, and re-checking it would let a recollection fail over a memory somebody else wrote.
pub fn id(&self) -> &MemoryEntryId
pub const fn kind(&self) -> MemoryEntryKind
pub fn summary(&self) -> &str
pub fn from_ceremony(&self) -> &CeremonyId
pub const fn observed_at(&self) -> OffsetDateTime
Trait Implementations§
Source§impl Clone for RecalledEntry
impl Clone for RecalledEntry
Source§fn clone(&self) -> RecalledEntry
fn clone(&self) -> RecalledEntry
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more