pub enum LogRecord {
Minted {
manifest: Box<AttributionManifest>,
},
Mutation {
token: Token,
at: Timestamp,
seq: Seq,
change: Change,
},
Event(Event),
}Expand description
One record in the append-only log. A closed enum: new kinds are
additive; folds ignore kinds they don’t know (doc 13 §4), which is
what keeps the replay promise compatible across schema growth.
Variants§
Minted
A token was born: the full manifest is the payload (doc 04 §1).
Fields
§
manifest: Box<AttributionManifest>The manifest as minted (version == 1).
Mutation
A manifest’s mutable sections changed.
Fields
Event(Event)
A funnel event (payload-free — I-1).
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for LogRecord
impl<'de> Deserialize<'de> for LogRecord
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
impl Eq for LogRecord
impl StructuralPartialEq for LogRecord
Auto Trait Implementations§
impl Freeze for LogRecord
impl RefUnwindSafe for LogRecord
impl Send for LogRecord
impl Sync for LogRecord
impl Unpin for LogRecord
impl UnsafeUnpin for LogRecord
impl UnwindSafe for LogRecord
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