pub enum ApcliMode {
Auto,
All,
None,
Include(Vec<String>),
Exclude(Vec<String>),
}Expand description
User-facing apcli visibility mode.
The Auto variant is an internal sentinel meaning “fall through to
auto-detect”; it is never returned from ApcliGroup::resolve_visibility
and is rejected when supplied via user config.
Variants§
Auto
Default: auto-detect based on registry-injection (Tier 4).
All
Show all apcli subcommands.
None
Hide the entire apcli group.
Include(Vec<String>)
Whitelist of subcommand names to expose.
Exclude(Vec<String>)
Blacklist of subcommand names to hide.
Trait Implementations§
impl Eq for ApcliMode
impl StructuralPartialEq for ApcliMode
Auto Trait Implementations§
impl Freeze for ApcliMode
impl RefUnwindSafe for ApcliMode
impl Send for ApcliMode
impl Sync for ApcliMode
impl Unpin for ApcliMode
impl UnsafeUnpin for ApcliMode
impl UnwindSafe for ApcliMode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.