Struct lal::ConfigDefaults
[−]
[src]
pub struct ConfigDefaults { pub backend: BackendConfiguration, pub environments: BTreeMap<String, Container>, pub mounts: Vec<Mount>, pub minimum_lal: Option<String>, }
Representation of a configuration defaults file
This file is being used to generate the config when using lal configure
Fields
backend: BackendConfiguration
Configuration settings for the Backend
environments: BTreeMap<String, Container>
Environments shorthands that are allowed and their full meaning
mounts: Vec<Mount>
Extra volume mounts to be set for the container
minimum_lal: Option<String>
Optional minimum version restriction of lal
Methods
impl ConfigDefaults
[src]
fn read(file: &str) -> LalResult<ConfigDefaults>
[src]
Open and deserialize a defaults file
Trait Implementations
impl Clone for ConfigDefaults
[src]
fn clone(&self) -> ConfigDefaults
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Default for ConfigDefaults
[src]
fn default() -> ConfigDefaults
[src]
Returns the "default value" for a type. Read more