pub struct EventDraft {
pub run: RunId,
pub t: TimeMs,
pub who: String,
pub addr: Option<Address>,
pub kind: EventKind,
pub data: Payload,
pub ig: bool,
}Expand description
What a recording party supplies; the Ledger implementation owns the rest (seq, prev, v).
Fields§
§run: RunId§t: TimeMs§who: String§addr: Option<Address>§kind: EventKind§data: Payload§ig: bool“Ignorable”: a future reader may skip this line without changing any rebuild result. Writers set it only when that holds.
Trait Implementations§
Source§impl Clone for EventDraft
impl Clone for EventDraft
Source§impl Debug for EventDraft
impl Debug for EventDraft
Source§impl PartialEq for EventDraft
impl PartialEq for EventDraft
impl StructuralPartialEq for EventDraft
Auto Trait Implementations§
impl Freeze for EventDraft
impl RefUnwindSafe for EventDraft
impl Send for EventDraft
impl Sync for EventDraft
impl Unpin for EventDraft
impl UnsafeUnpin for EventDraft
impl UnwindSafe for EventDraft
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