pub struct RemoteChange {
pub tenant_id: TenantId,
pub scope_id: SyncScopeId,
pub sequence: Sequence,
pub operation_id: OperationId,
pub event_id: EventId,
pub lineage: LineageContext,
pub entity: EntityRef,
pub version: EntityVersion,
pub change_kind: ChangeKind,
pub payload: Vec<u8>,
pub timestamp: HybridTimestamp,
}Expand description
An authoritative journal entry pulled by a client.
Fields§
§tenant_id: TenantIdTenant owning the change.
scope_id: SyncScopeIdScope in which sequence is monotonic.
sequence: SequenceAuthoritative journal position.
operation_id: OperationIdOperation that produced the change.
event_id: EventIdStable identity of this authoritative event, independent from its journal sequence.
lineage: LineageContextRoot correlation and direct cause retained across adapters and consumers.
entity: EntityRefChanged entity.
version: EntityVersionResulting entity version.
change_kind: ChangeKindUpsert or tombstone.
payload: Vec<u8>Application-defined authoritative snapshot/event payload.
timestamp: HybridTimestampAuthoritative event timestamp.
Trait Implementations§
Source§impl Clone for RemoteChange
impl Clone for RemoteChange
Source§fn clone(&self) -> RemoteChange
fn clone(&self) -> RemoteChange
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 RemoteChange
impl Debug for RemoteChange
Source§impl<'de> Deserialize<'de> for RemoteChange
impl<'de> Deserialize<'de> for RemoteChange
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 RemoteChange
Source§impl PartialEq for RemoteChange
impl PartialEq for RemoteChange
Source§impl Serialize for RemoteChange
impl Serialize for RemoteChange
impl StructuralPartialEq for RemoteChange
Auto Trait Implementations§
impl Freeze for RemoteChange
impl RefUnwindSafe for RemoteChange
impl Send for RemoteChange
impl Sync for RemoteChange
impl Unpin for RemoteChange
impl UnsafeUnpin for RemoteChange
impl UnwindSafe for RemoteChange
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