Enum redis_driver::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
sourceimpl Default for GeoAddCondition
impl Default for GeoAddCondition
sourceimpl IntoArgs for GeoAddCondition
impl IntoArgs for GeoAddCondition
fn into_args(self, args: CommandArgs) -> CommandArgs
fn num_args(&self) -> usize
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more