Struct redis_driver::CommandListOptions
source · pub struct CommandListOptions { /* private fields */ }
Expand description
Options for the command_list
command.
Implementations
sourceimpl CommandListOptions
impl CommandListOptions
sourcepub fn filter_by_module_name<M: Into<BulkString>>(self, module_name: M) -> Self
pub fn filter_by_module_name<M: Into<BulkString>>(self, module_name: M) -> Self
get the commands that belong to the module specified by module-name
.
sourcepub fn filter_by_acl_category<C: Into<BulkString>>(self, category: C) -> Self
pub fn filter_by_acl_category<C: Into<BulkString>>(self, category: C) -> Self
get the commands in the ACL category
specified by category
.
sourcepub fn filter_by_pattern<P: Into<BulkString>>(self, pattern: P) -> Self
pub fn filter_by_pattern<P: Into<BulkString>>(self, pattern: P) -> Self
get the commands that match the given glob-like pattern
.
Trait Implementations
sourceimpl Default for CommandListOptions
impl Default for CommandListOptions
sourcefn default() -> CommandListOptions
fn default() -> CommandListOptions
Returns the “default value” for a type. Read more
sourceimpl IntoArgs for CommandListOptions
impl IntoArgs for CommandListOptions
fn into_args(self, args: CommandArgs) -> CommandArgs
fn num_args(&self) -> usize
Auto Trait Implementations
impl RefUnwindSafe for CommandListOptions
impl Send for CommandListOptions
impl Sync for CommandListOptions
impl Unpin for CommandListOptions
impl UnwindSafe for CommandListOptions
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