pub struct ApcliConfig {
pub mode: ApcliMode,
pub disable_env: bool,
}Expand description
User-facing apcli config consumed by ApcliGroup::from_cli_config.
Boolean shorthand (handled at the yaml/builder layer) maps to
mode = All / mode = None.
Fields§
§mode: ApcliModeVisibility mode.
disable_env: boolWhen true, the APCORE_CLI_APCLI env var (Tier 2) is ignored.
Trait Implementations§
Source§impl Clone for ApcliConfig
impl Clone for ApcliConfig
Source§fn clone(&self) -> ApcliConfig
fn clone(&self) -> ApcliConfig
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 ApcliConfig
impl Debug for ApcliConfig
Source§impl Default for ApcliConfig
impl Default for ApcliConfig
Source§fn default() -> ApcliConfig
fn default() -> ApcliConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ApcliConfig
impl RefUnwindSafe for ApcliConfig
impl Send for ApcliConfig
impl Sync for ApcliConfig
impl Unpin for ApcliConfig
impl UnsafeUnpin for ApcliConfig
impl UnwindSafe for ApcliConfig
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