pub struct SetResult {
pub internal_id: DocId,
pub created: bool,
}Expand description
Result of a successful set operation.
Fields§
§internal_id: DocIdInternal document ID assigned in the collection.
created: boolTrue if this write inserted a new document key.
Trait Implementations§
impl Copy for SetResult
impl Eq for SetResult
impl StructuralPartialEq for SetResult
Auto Trait Implementations§
impl Freeze for SetResult
impl RefUnwindSafe for SetResult
impl Send for SetResult
impl Sync for SetResult
impl Unpin for SetResult
impl UnsafeUnpin for SetResult
impl UnwindSafe for SetResult
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