pub struct CommandListOptions<'a> { /* private fields */ }Expand description
Options for the command_list command.
Implementations§
Source§impl<'a> CommandListOptions<'a>
impl<'a> CommandListOptions<'a>
Sourcepub fn filter_by_module_name(self, module_name: &'a str) -> Self
pub fn filter_by_module_name(self, module_name: &'a str) -> Self
get the commands that belong to the module specified by module-name.
Sourcepub fn filter_by_acl_category(self, acl_category: &'a str) -> Self
pub fn filter_by_acl_category(self, acl_category: &'a str) -> Self
get the commands in the ACL category specified by category.
Sourcepub fn filter_by_pattern(self, pattern: &'a str) -> Self
pub fn filter_by_pattern(self, pattern: &'a str) -> Self
get the commands that match the given glob-like pattern.
Trait Implementations§
Source§impl<'a> Default for CommandListOptions<'a>
impl<'a> Default for CommandListOptions<'a>
Source§fn default() -> CommandListOptions<'a>
fn default() -> CommandListOptions<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for CommandListOptions<'a>
impl<'a> RefUnwindSafe for CommandListOptions<'a>
impl<'a> Send for CommandListOptions<'a>
impl<'a> Sync for CommandListOptions<'a>
impl<'a> Unpin for CommandListOptions<'a>
impl<'a> UnwindSafe for CommandListOptions<'a>
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