pub struct DefaultArgs {
pub environment: HashMap<String, String>,
pub common_args: NixCommonArgs,
pub config_args: NixConfigArgs,
pub flake_args: FlakeArgs,
pub eval_args: EvaluationArgs,
pub extra_args: Vec<String>,
}Expand description
Defaults for all option groups
The implemetation of Run for NixCommandLine ensures that only defaults for the groups applicable to the command are issued.
Fields§
§environment: HashMap<String, String>§common_args: NixCommonArgs§config_args: NixConfigArgs§flake_args: FlakeArgs§eval_args: EvaluationArgs§extra_args: Vec<String>Trait Implementations§
Source§impl Clone for DefaultArgs
impl Clone for DefaultArgs
Source§fn clone(&self) -> DefaultArgs
fn clone(&self) -> DefaultArgs
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 DefaultArgs
impl Debug for DefaultArgs
Source§impl Default for DefaultArgs
impl Default for DefaultArgs
Source§fn default() -> DefaultArgs
fn default() -> DefaultArgs
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DefaultArgs
impl RefUnwindSafe for DefaultArgs
impl Send for DefaultArgs
impl Sync for DefaultArgs
impl Unpin for DefaultArgs
impl UnwindSafe for DefaultArgs
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