Struct rustis::commands::CommandListOptions
source · pub struct CommandListOptions { /* private fields */ }
Expand description
Options for the command_list
command.
Implementations§
source§impl CommandListOptions
impl CommandListOptions
sourcepub fn filter_by_module_name<M: SingleArg>(self, module_name: M) -> Self
pub fn filter_by_module_name<M: SingleArg>(self, module_name: M) -> Self
get the commands that belong to the module specified by module-name
.
sourcepub fn filter_by_acl_category<C: SingleArg>(self, category: C) -> Self
pub fn filter_by_acl_category<C: SingleArg>(self, category: C) -> Self
get the commands in the ACL category
specified by category
.
sourcepub fn filter_by_pattern<P: SingleArg>(self, pattern: P) -> Self
pub fn filter_by_pattern<P: SingleArg>(self, pattern: P) -> Self
get the commands that match the given glob-like pattern
.
Trait Implementations§
source§impl Default for CommandListOptions
impl Default for CommandListOptions
source§fn default() -> CommandListOptions
fn default() -> CommandListOptions
Returns the “default value” for a type. Read more
source§impl ToArgs for CommandListOptions
impl ToArgs for CommandListOptions
source§fn write_args(&self, args: &mut CommandArgs)
fn write_args(&self, args: &mut CommandArgs)
Write this Rust type as one ore multiple args into CommandArgs. Read more
Auto Trait Implementations§
impl Freeze for CommandListOptions
impl RefUnwindSafe for CommandListOptions
impl Send for CommandListOptions
impl Sync for CommandListOptions
impl Unpin for CommandListOptions
impl UnwindSafe for CommandListOptions
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