pub enum StorageCommandType {
HyperLogLog,
HashIncrement,
HashIncrementFloat(f64),
SortedSetIncrement(f64),
}Expand description
the types of storage operations supported
Variants§
HyperLogLog
hyperloglog add for unique counting
HashIncrement
hash field increment by 1
HashIncrementFloat(f64)
hash field increment by float amount
SortedSetIncrement(f64)
sorted set member increment by amount
Trait Implementations§
Source§impl Clone for StorageCommandType
impl Clone for StorageCommandType
Source§fn clone(&self) -> StorageCommandType
fn clone(&self) -> StorageCommandType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StorageCommandType
impl Debug for StorageCommandType
Source§impl PartialEq for StorageCommandType
impl PartialEq for StorageCommandType
impl StructuralPartialEq for StorageCommandType
Auto Trait Implementations§
impl Freeze for StorageCommandType
impl RefUnwindSafe for StorageCommandType
impl Send for StorageCommandType
impl Sync for StorageCommandType
impl Unpin for StorageCommandType
impl UnsafeUnpin for StorageCommandType
impl UnwindSafe for StorageCommandType
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