Struct cargo_make::types::ExternalConfig [−][src]
pub struct ExternalConfig { pub extend: Option<String>, pub config: Option<ConfigSection>, pub env: Option<IndexMap<String, EnvValue>>, pub tasks: Option<IndexMap<String, Task>>, }
Holds the entire externally read configuration such as task definitions and env vars where all values are optional
Fields
extend: Option<String>
Path to another toml file to extend
config: Option<ConfigSection>
Runtime config
env: Option<IndexMap<String, EnvValue>>
The env vars to setup before running the tasks
tasks: Option<IndexMap<String, Task>>
All task definitions
Methods
impl ExternalConfig
[src]
impl ExternalConfig
pub fn new() -> ExternalConfig
[src]
pub fn new() -> ExternalConfig
Creates and returns a new instance.
Trait Implementations
impl Debug for ExternalConfig
[src]
impl Debug for ExternalConfig
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for ExternalConfig
[src]
impl Clone for ExternalConfig
fn clone(&self) -> ExternalConfig
[src]
fn clone(&self) -> ExternalConfig
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl Send for ExternalConfig
impl Send for ExternalConfig
impl Sync for ExternalConfig
impl Sync for ExternalConfig