Enum rustis::commands::GeoAddCondition
source · 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§fn default() -> GeoAddCondition
fn default() -> GeoAddCondition
Returns the “default value” for a type. Read more
source§impl ToArgs for GeoAddCondition
impl ToArgs for GeoAddCondition
source§fn write_args(&self, args: &mut CommandArgs)
fn write_args(&self, args: &mut CommandArgs)
Write this Rust type as one ore multiple args into CommandArgs. Read more
Auto Trait Implementations§
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