#[repr(u32)]pub enum RedisModuleCommandArgFlag {
Optional = 1,
Multiple = 2,
MultipleToken = 4,
}
Variants§
Optional = 1
The argument is optional (like GET in the SET command).
Multiple = 2
The argument may repeat itself (like key in DEL).
MultipleToken = 4
The argument may repeat itself, and so does its token (like GET pattern in SORT).
Trait Implementations§
Source§impl Clone for RedisModuleCommandArgFlag
impl Clone for RedisModuleCommandArgFlag
Source§fn clone(&self) -> RedisModuleCommandArgFlag
fn clone(&self) -> RedisModuleCommandArgFlag
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 RedisModuleCommandArgFlag
impl Debug for RedisModuleCommandArgFlag
Source§impl Hash for RedisModuleCommandArgFlag
impl Hash for RedisModuleCommandArgFlag
Source§impl Ord for RedisModuleCommandArgFlag
impl Ord for RedisModuleCommandArgFlag
Source§fn cmp(&self, other: &RedisModuleCommandArgFlag) -> Ordering
fn cmp(&self, other: &RedisModuleCommandArgFlag) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for RedisModuleCommandArgFlag
impl PartialOrd for RedisModuleCommandArgFlag
impl Copy for RedisModuleCommandArgFlag
impl Eq for RedisModuleCommandArgFlag
impl StructuralPartialEq for RedisModuleCommandArgFlag
Auto Trait Implementations§
impl Freeze for RedisModuleCommandArgFlag
impl RefUnwindSafe for RedisModuleCommandArgFlag
impl Send for RedisModuleCommandArgFlag
impl Sync for RedisModuleCommandArgFlag
impl Unpin for RedisModuleCommandArgFlag
impl UnwindSafe for RedisModuleCommandArgFlag
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