pub enum GeoAddCondition {
None,
NX,
XX,
}
Expand description
Condition for the geoadd
command
Variants§
None
No option
NX
Don’t update already existing elements. Always add new elements.
XX
Only update elements that already exist. Never add elements.
Trait Implementations§
Source§impl Default for GeoAddCondition
impl Default for GeoAddCondition
Source§impl IntoArgs for GeoAddCondition
impl IntoArgs for GeoAddCondition
fn into_args(self, args: CommandArgs) -> CommandArgs
fn num_args(&self) -> usize
Auto Trait Implementations§
impl Freeze for GeoAddCondition
impl RefUnwindSafe for GeoAddCondition
impl Send for GeoAddCondition
impl Sync for GeoAddCondition
impl Unpin 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