Struct seaplane_cli::config::RawConfig
source · pub struct RawConfig {
pub loaded_from: Vec<PathBuf>,
pub did_init: bool,
pub seaplane: RawSeaplaneConfig,
pub account: RawAccountConfig,
pub api: RawApiConfig,
pub danger_zone: RawDangerZoneConfig,
/* private fields */
}Fields§
§loaded_from: Vec<PathBuf>§did_init: boolDid we run initialization automatically or not on startup?
seaplane: RawSeaplaneConfig§account: RawAccountConfig§api: RawApiConfig§danger_zone: RawDangerZoneConfigImplementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for RawConfig
impl<'de> Deserialize<'de> for RawConfig
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl FromDisk for RawConfig
impl FromDisk for RawConfig
source§fn set_loaded_from<P: AsRef<Path>>(&mut self, p: P)
fn set_loaded_from<P: AsRef<Path>>(&mut self, p: P)
Allows one to save or deserialize what path the item was loaded from
source§fn loaded_from(&self) -> Option<&Path>
fn loaded_from(&self) -> Option<&Path>
If saved, get the path the item was loaded from