pub struct ChangeSet {
pub envelope: Envelope,
pub ops: Vec<Op>,
}Expand description
Envelope metadata plus an ordered list of staged operations.
Operation order is semantically load-bearing (a link may target an
earlier create ID) and is preserved exactly by the NDJSON codec.
See crates/khive-changeset/docs/api/ndjson-codec.md for the wire contract.
Fields§
§envelope: EnvelopeChange-set-wide stage-time provenance.
ops: Vec<Op>Operations in semantic application order.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ChangeSet
impl RefUnwindSafe for ChangeSet
impl Send for ChangeSet
impl Sync for ChangeSet
impl Unpin for ChangeSet
impl UnsafeUnpin for ChangeSet
impl UnwindSafe for ChangeSet
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