pub struct UpsertResult {
pub record: Value,
pub inserted: bool,
}Expand description
Upsert operation result.
Fields§
§record: Value§inserted: boolImplementations§
Source§impl UpsertResult
impl UpsertResult
pub fn from_value(v: Value) -> Self
Trait Implementations§
Source§impl Clone for UpsertResult
impl Clone for UpsertResult
Source§fn clone(&self) -> UpsertResult
fn clone(&self) -> UpsertResult
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 UpsertResult
impl RefUnwindSafe for UpsertResult
impl Send for UpsertResult
impl Sync for UpsertResult
impl Unpin for UpsertResult
impl UnsafeUnpin for UpsertResult
impl UnwindSafe for UpsertResult
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