pub struct CliOverrides {
pub flags: HashMap<String, String>,
pub only_modules: Option<Vec<String>>,
pub hide_modules: HashSet<String>,
pub config_path: Option<String>,
pub use_defaults: bool,
pub output_format: OutputFormat,
pub ssh_hosts: Vec<String>,
}Expand description
Captures configuration overrides controlled by CLI switches.
Fields§
§flags: HashMap<String, String>§only_modules: Option<Vec<String>>§hide_modules: HashSet<String>§config_path: Option<String>§use_defaults: bool§output_format: OutputFormat§ssh_hosts: Vec<String>Trait Implementations§
Source§impl Debug for CliOverrides
impl Debug for CliOverrides
Source§impl Default for CliOverrides
impl Default for CliOverrides
Source§fn default() -> CliOverrides
fn default() -> CliOverrides
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CliOverrides
impl RefUnwindSafe for CliOverrides
impl Send for CliOverrides
impl Sync for CliOverrides
impl Unpin for CliOverrides
impl UnwindSafe for CliOverrides
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more