pub struct JournalEvent {
pub kind: EventKind,
pub anchor: Option<u64>,
pub flow: Option<String>,
}Expand description
One input that entered the VM.
The reserved anchor / flow dimensions are serialized (as Option, both
defaulting to None) but not interpreted in v1 — they let mid-turn
anchoring (anchor) and multi-flow journaling (flow) arrive additively
without a format break. See the module-level turn-boundary contract.
Fields§
§kind: EventKindThe input kind + payload.
anchor: Option<u64>Reserved: per-event position ordinal for future mid-turn anchoring. Serialized, never interpreted in v1.
flow: Option<String>Reserved: flow tag for future multi-flow journaling. v1 is default-flow-only. Serialized, never interpreted in v1.
Implementations§
Trait Implementations§
Source§impl Clone for JournalEvent
impl Clone for JournalEvent
Source§fn clone(&self) -> JournalEvent
fn clone(&self) -> JournalEvent
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 JournalEvent
impl Debug for JournalEvent
Source§impl<'de> Deserialize<'de> for JournalEvent
impl<'de> Deserialize<'de> for JournalEvent
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
Source§impl PartialEq for JournalEvent
impl PartialEq for JournalEvent
Source§impl Serialize for JournalEvent
impl Serialize for JournalEvent
impl StructuralPartialEq for JournalEvent
Auto Trait Implementations§
impl Freeze for JournalEvent
impl RefUnwindSafe for JournalEvent
impl Send for JournalEvent
impl Sync for JournalEvent
impl Unpin for JournalEvent
impl UnsafeUnpin for JournalEvent
impl UnwindSafe for JournalEvent
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