Struct webserver_rs::web_core::config::Log
source · pub struct Log {
pub dir: String,
pub prefix: String,
pub utcoffset: [i8; 3],
}Fields§
§dir: String§prefix: String§utcoffset: [i8; 3]Trait Implementations§
source§impl<'de> Deserialize<'de> for Log
impl<'de> Deserialize<'de> for Log
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
Auto Trait Implementations§
impl Freeze for Log
impl RefUnwindSafe for Log
impl Send for Log
impl Sync for Log
impl Unpin for Log
impl UnwindSafe for Log
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<C> FromConfigFile for Cwhere
C: DeserializeOwned,
impl<C> FromConfigFile for Cwhere
C: DeserializeOwned,
source§fn from_config_file<P>(path: P) -> Result<C, ConfigFileError>
fn from_config_file<P>(path: P) -> Result<C, ConfigFileError>
Load ourselves from the configuration file located at @path