pub struct Overrides {
pub env_deny: Option<Vec<String>>,
pub env_allow: Option<Vec<String>>,
}Expand description
Values supplied on the command line.
None means the flag was not given, which is not the same as being given an
empty list — the first defers to lower-precedence sources, the second would
override them. Repeated flags accumulate, and clap yields an empty vector
when a flag is absent, so from_cli does that conversion in one place.
Fields§
§env_deny: Option<Vec<String>>§env_allow: Option<Vec<String>>Trait Implementations§
impl Eq for Overrides
impl StructuralPartialEq for Overrides
Auto Trait Implementations§
impl Freeze for Overrides
impl RefUnwindSafe for Overrides
impl Send for Overrides
impl Sync for Overrides
impl Unpin for Overrides
impl UnsafeUnpin for Overrides
impl UnwindSafe for Overrides
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