Struct dittolive_ditto::store::update::UpdateResult
source · [−]pub struct UpdateResult {
pub op: UpdateOp,
pub doc_id: String,
pub path: String,
pub value: Box<dyn Debug>,
}
Expand description
Describes the result of an update operation performed on a DittoMutDocument
.
- set: Describes the
set
update that was performed. - removed: Describes the
remove
update that was performed. - incremented: Describes the
increment
update that was performed.
Fields
op: UpdateOp
doc_id: String
path: String
value: Box<dyn Debug>
Auto Trait Implementations
impl !RefUnwindSafe for UpdateResult
impl !Send for UpdateResult
impl !Sync for UpdateResult
impl Unpin for UpdateResult
impl !UnwindSafe for UpdateResult
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> CompatExt for T
impl<T> CompatExt for T
fn compat_ref(&self) -> Compat<&T>
fn compat_ref(&self) -> Compat<&T>
Applies the [
Compat
] adapter by shared reference. Read morefn compat_mut(&mut self) -> Compat<&mut T>
fn compat_mut(&mut self) -> Compat<&mut T>
Applies the [
Compat
] adapter by mutable reference. Read more