pub struct ClientChange {
pub entity: String,
pub row_id: String,
pub kind: ChangeKind,
pub data: Option<Value>,
pub op_id: Option<String>,
}Fields§
§entity: String§row_id: String§kind: ChangeKind§data: Option<Value>§op_id: Option<String>Client-minted idempotency key. The server remembers recently-seen op_ids and short-circuits replays with the previous result instead of re-applying the change. When absent, no dedup is performed (legacy clients stay functional but lose idempotency on retry).
Trait Implementations§
Source§impl Clone for ClientChange
impl Clone for ClientChange
Source§fn clone(&self) -> ClientChange
fn clone(&self) -> ClientChange
Returns a duplicate of the value. Read more
1.0.0 · 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 ClientChange
impl Debug for ClientChange
Source§impl<'de> Deserialize<'de> for ClientChange
impl<'de> Deserialize<'de> for ClientChange
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
Auto Trait Implementations§
impl Freeze for ClientChange
impl RefUnwindSafe for ClientChange
impl Send for ClientChange
impl Sync for ClientChange
impl Unpin for ClientChange
impl UnsafeUnpin for ClientChange
impl UnwindSafe for ClientChange
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