[][src]Struct cli::types::ExternalConfig

pub struct ExternalConfig {
    pub extend: Option<Extend>,
    pub config: Option<ConfigSection>,
    pub env_files: Option<Vec<EnvFile>>,
    pub env: Option<IndexMap<String, EnvValue>>,
    pub env_scripts: Option<Vec<String>>,
    pub tasks: Option<IndexMap<String, Task>>,

Holds the entire externally read configuration such as task definitions and env vars where all values are optional


extend: Option<Extend>

Path to another toml file to extend

config: Option<ConfigSection>

Runtime config

env_files: Option<Vec<EnvFile>>

The env files to setup before running the flow

env: Option<IndexMap<String, EnvValue>>

The env vars to setup before running the flow

env_scripts: Option<Vec<String>>

The env scripts to execute before running the flow

tasks: Option<IndexMap<String, Task>>

All task definitions


impl ExternalConfig[src]

pub fn new() -> ExternalConfig[src]

Creates and returns a new instance.

Trait Implementations

impl Clone for ExternalConfig[src]

impl Debug for ExternalConfig[src]

impl Default for ExternalConfig[src]

impl<'de> Deserialize<'de> for ExternalConfig[src]

impl Serialize for ExternalConfig[src]

Auto Trait Implementations

impl RefUnwindSafe for ExternalConfig

impl Send for ExternalConfig

impl Sync for ExternalConfig

impl Unpin for ExternalConfig

impl UnwindSafe for ExternalConfig

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,