Enum redis_driver::ZAggregate
source · [−]pub enum ZAggregate {
None,
Sum,
Min,
Max,
}
Expand description
Option that specify how results of an union or intersection are aggregated
See Also
Variants
None
No aggregation
Sum
The score of an element is summed across the inputs where it exists.
Min
The minimum score of an element across the inputs where it exists.
Max
The maximum score of an element across the inputs where it exists.
Trait Implementations
sourceimpl Default for ZAggregate
impl Default for ZAggregate
sourceimpl IntoArgs for ZAggregate
impl IntoArgs for ZAggregate
fn into_args(self, args: CommandArgs) -> CommandArgs
fn num_args(&self) -> usize
Auto Trait Implementations
impl RefUnwindSafe for ZAggregate
impl Send for ZAggregate
impl Sync for ZAggregate
impl Unpin for ZAggregate
impl UnwindSafe for ZAggregate
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