pub struct StoreUpdate {
pub view: String,
pub key: String,
pub operation: Operation,
pub data: Option<Value>,
pub previous: Option<Value>,
pub patch: Option<Value>,
}Fields§
§view: String§key: String§operation: Operation§data: Option<Value>§previous: Option<Value>§patch: Option<Value>The raw patch data for Patch operations (before merging into full state). This allows consumers to see exactly what fields changed without diffing.
Trait Implementations§
Source§impl Clone for StoreUpdate
impl Clone for StoreUpdate
Source§fn clone(&self) -> StoreUpdate
fn clone(&self) -> StoreUpdate
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 moreAuto Trait Implementations§
impl Freeze for StoreUpdate
impl RefUnwindSafe for StoreUpdate
impl Send for StoreUpdate
impl Sync for StoreUpdate
impl Unpin for StoreUpdate
impl UnwindSafe for StoreUpdate
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