pub struct CommandCatalogOptions {
pub hide_disabled: bool,
}Fields§
§hide_disabled: boolWhen true, commands that fail their when gating are excluded instead of being rendered
as disabled rows.
Trait Implementations§
Source§impl Clone for CommandCatalogOptions
impl Clone for CommandCatalogOptions
Source§fn clone(&self) -> CommandCatalogOptions
fn clone(&self) -> CommandCatalogOptions
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 CommandCatalogOptions
impl Debug for CommandCatalogOptions
Source§impl Default for CommandCatalogOptions
impl Default for CommandCatalogOptions
Source§fn default() -> CommandCatalogOptions
fn default() -> CommandCatalogOptions
Returns the “default value” for a type. Read more
Source§impl PartialEq for CommandCatalogOptions
impl PartialEq for CommandCatalogOptions
impl Copy for CommandCatalogOptions
impl Eq for CommandCatalogOptions
impl StructuralPartialEq for CommandCatalogOptions
Auto Trait Implementations§
impl Freeze for CommandCatalogOptions
impl RefUnwindSafe for CommandCatalogOptions
impl Send for CommandCatalogOptions
impl Sync for CommandCatalogOptions
impl Unpin for CommandCatalogOptions
impl UnsafeUnpin for CommandCatalogOptions
impl UnwindSafe for CommandCatalogOptions
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