Struct quickcfg::system::SystemInput
source · pub struct SystemInput<'a, 'f, E>where
E: Environment,{
pub root: &'a Path,
pub base_dirs: Option<&'a BaseDirs>,
pub facts: &'a Facts,
pub data: &'a Data,
pub environment: E,
pub packages: &'a Provider,
pub allocator: &'a UnitAllocator,
pub file_system: &'a FileSystem<'f>,
pub state: &'a State<'a>,
pub now: Timestamp,
pub opts: &'a Opts,
pub git_system: &'a dyn GitSystem,
}
Expand description
All inputs for a system.
Fields§
§root: &'a Path
The root directory of the project being built.
base_dirs: Option<&'a BaseDirs>
Known base directories to use.
facts: &'a Facts
Set of facts.
data: &'a Data
Data loaded from hierarchy.
environment: E
Source of environment variables.
packages: &'a Provider
Detected primary package manager for the system.
allocator: &'a UnitAllocator
Unit allocator to use.
file_system: &'a FileSystem<'f>
File utilities.
state: &'a State<'a>
State accessor.
now: Timestamp
Current time.
opts: &'a Opts
Current optsion.
git_system: &'a dyn GitSystem
The current git system.
Trait Implementations§
source§impl<'a, 'f, E> Clone for SystemInput<'a, 'f, E>where
E: Environment + Clone,
impl<'a, 'f, E> Clone for SystemInput<'a, 'f, E>where E: Environment + Clone,
source§fn clone(&self) -> SystemInput<'a, 'f, E>
fn clone(&self) -> SystemInput<'a, 'f, E>
Returns a copy 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 more