pub struct BaseChange<T> {
pub structure: String,
pub version: Version,
pub t_ns: u64,
pub seq: Option<u64>,
pub lifecycle: Lifecycle,
pub change: T,
}Expand description
Universal change envelope (DS-14 PART 4).
Field semantics:
structure— open string namespace per structure variant ("reactiveMap","graphValue","ownership", …).version— monotonic identity (Version::CounterV0 orVersion::CidV1+).t_ns— wall-clock at mutation entry (matches the TSwallClockNs()call site).seq— optional cursor seq for joining with audit logs. Distinct fromWALFrame::frame_seq—seqis the bundle’smutationscursor (DS-14 T1);frame_seqis the WAL tier’s own cursor.lifecycle— scope discriminant (seeLifecycle).change— structure-specific delta payload, discriminated internally bykind(porting of per-structure payload unions arrives with M5).
Fields§
§structure: String§version: Version§t_ns: u64§seq: Option<u64>§lifecycle: Lifecycle§change: TTrait Implementations§
Source§impl<T: Clone> Clone for BaseChange<T>
impl<T: Clone> Clone for BaseChange<T>
Source§fn clone(&self) -> BaseChange<T>
fn clone(&self) -> BaseChange<T>
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<T: Debug> Debug for BaseChange<T>
impl<T: Debug> Debug for BaseChange<T>
Source§impl<'de, T> Deserialize<'de> for BaseChange<T>where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for BaseChange<T>where
T: Deserialize<'de>,
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<T: PartialEq> PartialEq for BaseChange<T>
impl<T: PartialEq> PartialEq for BaseChange<T>
Source§fn eq(&self, other: &BaseChange<T>) -> bool
fn eq(&self, other: &BaseChange<T>) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl<T> Serialize for BaseChange<T>where
T: Serialize,
impl<T> Serialize for BaseChange<T>where
T: Serialize,
impl<T: Eq> Eq for BaseChange<T>
impl<T> StructuralPartialEq for BaseChange<T>
Auto Trait Implementations§
impl<T> Freeze for BaseChange<T>where
T: Freeze,
impl<T> RefUnwindSafe for BaseChange<T>where
T: RefUnwindSafe,
impl<T> Send for BaseChange<T>where
T: Send,
impl<T> Sync for BaseChange<T>where
T: Sync,
impl<T> Unpin for BaseChange<T>where
T: Unpin,
impl<T> UnsafeUnpin for BaseChange<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for BaseChange<T>where
T: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.