Enum everscale_types::dict::SetMode
source · pub enum SetMode {
Set,
Replace,
Add,
}Expand description
Dictionary insertion mode.
Variants§
Set
Sets the value associated with the key in the dictionary.
Replace
Sets the value associated with the key in the dictionary only if the key was already present in it.
Add
Sets the value associated with key in dictionary, but only if it is not already present.
Implementations§
Trait Implementations§
source§impl PartialEq<SetMode> for SetMode
impl PartialEq<SetMode> for SetMode
impl Copy for SetMode
impl Eq for SetMode
impl StructuralEq for SetMode
impl StructuralPartialEq for SetMode
Auto Trait Implementations§
impl RefUnwindSafe for SetMode
impl Send for SetMode
impl Sync for SetMode
impl Unpin for SetMode
impl UnwindSafe for SetMode
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