Enum redis_driver::ZWhere
source · pub enum ZWhere {
Min,
Max,
}
Expand description
Where option of the zmpop command
Variants
Min
When the MIN modifier is used, the elements popped are those with the lowest scores from the first non-empty sorted set.
Max
The MAX modifier causes elements with the highest scores to be popped.
Trait Implementations
sourceimpl IntoArgs for ZWhere
impl IntoArgs for ZWhere
fn into_args(self, args: CommandArgs) -> CommandArgs
fn num_args(&self) -> usize
Auto Trait Implementations
impl RefUnwindSafe for ZWhere
impl Send for ZWhere
impl Sync for ZWhere
impl Unpin for ZWhere
impl UnwindSafe for ZWhere
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