pub struct StoredMutation {
pub client_id: String,
pub id: f64,
pub name: String,
pub args: Value,
pub timestamp: f64,
pub aggregate_writes: AggregateWrites,
}Expand description
A mutation that ran on a client and the server has not confirmed.
Fields§
§client_id: StringThe client that ran it.
id: f64Its ID, counting up from 1 per client.
name: StringThe mutator it ran.
args: ValueIts arguments.
timestamp: f64When it ran, in ms since 1970.
aggregate_writes: AggregateWritesJS persists these in the mutation’s commit; the client runs the mutation again at launch, before any query registers the aggregates it moves, and puts these back.
Trait Implementations§
Source§impl Clone for StoredMutation
impl Clone for StoredMutation
Source§impl Debug for StoredMutation
impl Debug for StoredMutation
Source§impl PartialEq for StoredMutation
impl PartialEq for StoredMutation
impl StructuralPartialEq for StoredMutation
Auto Trait Implementations§
impl Forget for StoredMutation
impl Freeze for StoredMutation
impl Move for StoredMutation
impl RefUnwindSafe for StoredMutation
impl Send for StoredMutation
impl Sync for StoredMutation
impl Unpin for StoredMutation
impl UnsafeUnpin for StoredMutation
impl UnwindSafe for StoredMutation
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