Enum aerospike::operations::maps::MapWriteMode
source · pub enum MapWriteMode {
Update,
UpdateOnly,
CreateOnly,
}
Expand description
Unique key map write type.
Variants§
Update
If the key already exists, the item will be overwritten. If the key does not exist, a new item will be created.
UpdateOnly
If the key already exists, the item will be overwritten. If the key does not exist, the write will fail.
CreateOnly
If the key already exists, the write will fail. If the key does not exist, a new item will be created.
Trait Implementations§
source§impl Clone for MapWriteMode
impl Clone for MapWriteMode
source§fn clone(&self) -> MapWriteMode
fn clone(&self) -> MapWriteMode
Returns a copy 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 moresource§impl Debug for MapWriteMode
impl Debug for MapWriteMode
impl Copy for MapWriteMode
Auto Trait Implementations§
impl RefUnwindSafe for MapWriteMode
impl Send for MapWriteMode
impl Sync for MapWriteMode
impl Unpin for MapWriteMode
impl UnwindSafe for MapWriteMode
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