pub struct FlagOverrides {
pub token: Option<String>,
pub settings: Settings,
}Expand description
CLI flag overrides passed to Config::resolve. None means the flag
was not provided.
The shared Settings block is nested rather than mirrored; only token
is carried top-level, because it is the one identity field with a global
--token flag. Note there is no --token-command flag, so
settings.token_command is never populated from the CLI (see Settings).
Fields§
§token: Option<String>§settings: SettingsTrait Implementations§
Source§impl Debug for FlagOverrides
impl Debug for FlagOverrides
Source§impl Default for FlagOverrides
impl Default for FlagOverrides
Source§fn default() -> FlagOverrides
fn default() -> FlagOverrides
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for FlagOverrides
impl RefUnwindSafe for FlagOverrides
impl Send for FlagOverrides
impl Sync for FlagOverrides
impl Unpin for FlagOverrides
impl UnsafeUnpin for FlagOverrides
impl UnwindSafe for FlagOverrides
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