pub struct EntryData {
pub actor: Address,
pub position: u64,
pub version: String,
pub message_id: String,
pub timestamp_ms: i64,
pub digest: String,
pub body: EntryBody,
}Expand description
One journal entry, decoded.
Fields§
§actor: AddressThe actor.
position: u64The position.
version: StringThe chart version IRI the entry ran under.
message_id: StringThe message id the entry accepted.
timestamp_ms: i64Milliseconds since the epoch, stamped at dequeue.
digest: StringThe configuration digest after the entry.
body: EntryBodyThe kind-specific content.
Implementations§
Source§impl EntryData
impl EntryData
Sourcepub fn effects(&self) -> Option<&Effects>
pub fn effects(&self) -> Option<&Effects>
The effects of an input entry; empty for other kinds.
Sourcepub fn to_entry(&self) -> Entry
pub fn to_entry(&self) -> Entry
The entry as an RDF graph for vertep_store::JournalStore::append.
Sourcepub fn annotation_graph(&self) -> NamedNode
pub fn annotation_graph(&self) -> NamedNode
The graph in which the annotations of this entry’s transitions are written.
Sourcepub fn annotations(&self) -> Vec<Annotation>
pub fn annotations(&self) -> Vec<Annotation>
The statements <actor> vt:tookTransition <transition>, each annotated through a
blank-node reifier (tiramemsu refuses reifier IRIs) with vt:causedBy <entry>. They are written to the actor’s graph store, in
EntryData::annotation_graph, as RDF 1.2 reifiers when the store supports them and as
rdf:Statement reification otherwise (journal entries themselves hold no triple terms).