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
Auto Trait Implementations§
impl Freeze for RawConfig
impl RefUnwindSafe for RawConfig
impl Send for RawConfig
impl Sync for RawConfig
impl Unpin for RawConfig
impl UnwindSafe for RawConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more