pub struct EpisodeMetaRecord {
pub episode_id: SymbolId,
pub at: ClockTime,
pub label: Option<String>,
pub parent_episode_id: Option<SymbolId>,
pub retracts: Vec<SymbolId>,
}Expand description
Episode metadata record — extends the mechanical Checkpoint with
the agent-visible fields from episode-semantics.md § 4.2 that
the bare Checkpoint doesn’t carry: optional label, optional
parent Episode link, and a (possibly empty) list of retracted
Episodes.
Emitted by the store immediately before the batch’s
Checkpoint. Batches that don’t carry an (episode :start ...)
form have no EpisodeMeta.
Fields§
§episode_id: SymbolIdEpisode ID this metadata describes (same as the following
Checkpoint’s episode_id).
at: ClockTimeCommit time — same as the Checkpoint’s at.
label: Option<String>Optional human-readable label. Capped at 256 bytes per
episode-semantics.md § 4.3.
parent_episode_id: Option<SymbolId>Optional parent Episode.
retracts: Vec<SymbolId>Episodes this Episode retracts.
Trait Implementations§
Source§impl Clone for EpisodeMetaRecord
impl Clone for EpisodeMetaRecord
Source§fn clone(&self) -> EpisodeMetaRecord
fn clone(&self) -> EpisodeMetaRecord
Returns a duplicate of the value. Read more
1.0.0 · 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 EpisodeMetaRecord
impl Debug for EpisodeMetaRecord
Source§impl PartialEq for EpisodeMetaRecord
impl PartialEq for EpisodeMetaRecord
impl Eq for EpisodeMetaRecord
impl StructuralPartialEq for EpisodeMetaRecord
Auto Trait Implementations§
impl Freeze for EpisodeMetaRecord
impl RefUnwindSafe for EpisodeMetaRecord
impl Send for EpisodeMetaRecord
impl Sync for EpisodeMetaRecord
impl Unpin for EpisodeMetaRecord
impl UnsafeUnpin for EpisodeMetaRecord
impl UnwindSafe for EpisodeMetaRecord
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> 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.