#[non_exhaustive]pub enum GeoAddCondition {
NX,
XX,
}Expand description
Condition for the geoadd command
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
NX
Don’t update already existing elements. Always add new elements.
XX
Only update elements that already exist. Never add elements.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GeoAddCondition
impl RefUnwindSafe for GeoAddCondition
impl Send for GeoAddCondition
impl Sync for GeoAddCondition
impl Unpin for GeoAddCondition
impl UnsafeUnpin for GeoAddCondition
impl UnwindSafe for GeoAddCondition
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