pub struct EpisodeMetadata {
pub label: Option<String>,
pub parent_episode: Option<SymbolId>,
pub retracts: Vec<SymbolId>,
}Expand description
Agent-supplied Episode metadata. Passed into
Store::commit_batch_with_metadata to attach a label / parent /
retracts to the next committed Episode. See
episode-semantics.md § 3.2 / § 4.2 / § 5.
Fields§
§label: Option<String>Optional human-readable label.
parent_episode: Option<SymbolId>Optional parent Episode.
retracts: Vec<SymbolId>Episodes this Episode retracts.
Implementations§
Trait Implementations§
Source§impl Clone for EpisodeMetadata
impl Clone for EpisodeMetadata
Source§fn clone(&self) -> EpisodeMetadata
fn clone(&self) -> EpisodeMetadata
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 EpisodeMetadata
impl Debug for EpisodeMetadata
Source§impl Default for EpisodeMetadata
impl Default for EpisodeMetadata
Source§fn default() -> EpisodeMetadata
fn default() -> EpisodeMetadata
Returns the “default value” for a type. Read more
Source§impl PartialEq for EpisodeMetadata
impl PartialEq for EpisodeMetadata
impl Eq for EpisodeMetadata
impl StructuralPartialEq for EpisodeMetadata
Auto Trait Implementations§
impl Freeze for EpisodeMetadata
impl RefUnwindSafe for EpisodeMetadata
impl Send for EpisodeMetadata
impl Sync for EpisodeMetadata
impl Unpin for EpisodeMetadata
impl UnsafeUnpin for EpisodeMetadata
impl UnwindSafe for EpisodeMetadata
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.