Struct environment::Environment
source · Expand description
A structure that contains environment state for a given Task
or group of
Task
s.
A default environment can be created with the following state:
- The working directory is the
root
directory.
Fields§
§working_dir: DirRef
The “current working directory”, i.e., where a task’s relative path begins upon first execution.
variables: HashMap<String, String>
Implementations§
Trait Implementations§
source§impl Default for Environment
impl Default for Environment
source§fn default() -> Environment
fn default() -> Environment
Returns the “default value” for a type. Read more