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: Into<CommandArg>>(self, module_name: M) -> Self
pub fn filter_by_module_name<M: Into<CommandArg>>(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<CommandArg>>(self, category: C) -> Self
pub fn filter_by_acl_category<C: Into<CommandArg>>(self, category: C) -> Self
get the commands in the ACL category
specified by category
.
Sourcepub fn filter_by_pattern<P: Into<CommandArg>>(self, pattern: P) -> Self
pub fn filter_by_pattern<P: Into<CommandArg>>(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 IntoArgs for CommandListOptions
impl IntoArgs for CommandListOptions
fn into_args(self, args: CommandArgs) -> CommandArgs
fn num_args(&self) -> usize
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