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§
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