Struct lal::StickyOptions
[−]
[src]
pub struct StickyOptions {
pub env: Option<String>,
}Representation of .lal/opts
This contains the currently supported, directory-wide, sticky options.
Fields
env: Option<String>
Environment to be used implicitally instead of the default
Methods
impl StickyOptions[src]
fn new() -> StickyOptions[src]
Initialize a StickyOptions with defaults
fn read() -> LalResult<StickyOptions>[src]
Read and deserialize a StickyOptions from .lal/opts
fn write(&self) -> LalResult<()>[src]
Overwrite .lal/opts with current settings
fn delete_local() -> LalResult<()>[src]
Delete local .lal/opts
Trait Implementations
impl Clone for StickyOptions[src]
fn clone(&self) -> StickyOptions[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 StickyOptions[src]
fn default() -> StickyOptions[src]
Returns the "default value" for a type. Read more