pub struct FileLogConf {
pub path: String,
}Fields§
§path: StringTrait Implementations§
Source§impl Clone for FileLogConf
impl Clone for FileLogConf
Source§fn clone(&self) -> FileLogConf
fn clone(&self) -> FileLogConf
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FileLogConf
impl Debug for FileLogConf
Source§impl<'de> Deserialize<'de> for FileLogConf
impl<'de> Deserialize<'de> for FileLogConf
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 PartialEq for FileLogConf
impl PartialEq for FileLogConf
Source§impl Serialize for FileLogConf
impl Serialize for FileLogConf
impl StructuralPartialEq for FileLogConf
Auto Trait Implementations§
impl Freeze for FileLogConf
impl RefUnwindSafe for FileLogConf
impl Send for FileLogConf
impl Sync for FileLogConf
impl Unpin for FileLogConf
impl UnwindSafe for FileLogConf
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> ConfigIO<T> for Twhere
T: DeserializeOwned + Serialize,
impl<T> ConfigIO<T> for Twhere
T: DeserializeOwned + Serialize,
fn load_conf(path: &Path) -> Result<T, StructError<ConfIOReason>>
fn save_conf(&self, path: &Path) -> Result<(), StructError<ConfIOReason>>
Source§impl<T> ConfigIO<T> for Twhere
T: DeserializeOwned + Serialize,
impl<T> ConfigIO<T> for Twhere
T: DeserializeOwned + Serialize,
Source§fn from_conf(path: &Path) -> Result<T, StructError<ConfIOReason>>
fn from_conf(path: &Path) -> Result<T, StructError<ConfIOReason>>
👎Deprecated since 0.3.0: Use load_conf() instead
fn save_conf(&self, path: &Path) -> Result<(), StructError<ConfIOReason>>
fn load_conf(path: &Path) -> Result<T, StructError<ConfIOReason>>
Source§impl<T> EnvTomlLoad<T> for Twhere
T: DeserializeOwned,
impl<T> EnvTomlLoad<T> for Twhere
T: DeserializeOwned,
fn env_load_toml( path: &Path, dict: &ValueDict, ) -> Result<T, StructError<ConfIOReason>>
Source§impl<T> TextConfigIO<T> for Twhere
T: DeserializeOwned + Serialize,
impl<T> TextConfigIO<T> for Twhere
T: DeserializeOwned + Serialize,
fn load_valconf(path: &Path) -> Result<T, StructError<ConfIOReason>>
fn save_valconf(&self, path: &Path) -> Result<(), StructError<ConfIOReason>>
Source§impl<T> TextConfigIO<T> for Twhere
T: DeserializeOwned + Serialize,
impl<T> TextConfigIO<T> for Twhere
T: DeserializeOwned + Serialize,
Source§fn from_valconf(path: &Path) -> Result<T, StructError<ConfIOReason>>
fn from_valconf(path: &Path) -> Result<T, StructError<ConfIOReason>>
👎Deprecated since 0.3.0: Use load_valconf() instead
fn save_valconf(&self, path: &Path) -> Result<(), StructError<ConfIOReason>>
fn load_valconf(path: &Path) -> Result<T, StructError<ConfIOReason>>
Source§impl<T> TomlIO<T> for Twhere
T: DeserializeOwned + Serialize,
impl<T> TomlIO<T> for Twhere
T: DeserializeOwned + Serialize,
fn load_toml(path: &Path) -> Result<T, StructError<ConfIOReason>>
fn save_toml(&self, path: &Path) -> Result<(), StructError<ConfIOReason>>
Source§impl<T> TomlIO<T> for Twhere
T: DeserializeOwned + Serialize,
impl<T> TomlIO<T> for Twhere
T: DeserializeOwned + Serialize,
Source§fn from_toml(path: &Path) -> Result<T, StructError<ConfIOReason>>
fn from_toml(path: &Path) -> Result<T, StructError<ConfIOReason>>
👎Deprecated since 0.3.0: Use load_toml() instead
fn save_toml(&self, path: &Path) -> Result<(), StructError<ConfIOReason>>
fn load_toml(path: &Path) -> Result<T, StructError<ConfIOReason>>
Source§impl<T> YamlIO<T> for Twhere
T: DeserializeOwned + Serialize,
impl<T> YamlIO<T> for Twhere
T: DeserializeOwned + Serialize,
Source§fn from_yaml(path: &Path) -> Result<T, StructError<ConfIOReason>>
fn from_yaml(path: &Path) -> Result<T, StructError<ConfIOReason>>
👎Deprecated since 0.3.0: Use load_yaml() instead
fn save_yaml(&self, path: &Path) -> Result<(), StructError<ConfIOReason>>
fn load_yaml(path: &Path) -> Result<T, StructError<ConfIOReason>>
Source§fn from_yml(path: &Path) -> Result<T, StructError<ConfIOReason>>
fn from_yml(path: &Path) -> Result<T, StructError<ConfIOReason>>
👎Deprecated since 0.3.0: Use load_yaml() instead
Source§fn save_yml(&self, path: &Path) -> Result<(), StructError<ConfIOReason>>
fn save_yml(&self, path: &Path) -> Result<(), StructError<ConfIOReason>>
👎Deprecated since 0.3.0: Use save_yaml() instead