pub struct LoggingSettings {
pub level: String,
pub file: Option<PathBuf>,
pub format: LogFormat,
}
Fields§
§level: String
§file: Option<PathBuf>
§format: LogFormat
Trait Implementations§
Source§impl Clone for LoggingSettings
impl Clone for LoggingSettings
Source§fn clone(&self) -> LoggingSettings
fn clone(&self) -> LoggingSettings
Returns a copy 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 LoggingSettings
impl Debug for LoggingSettings
Source§impl Default for LoggingSettings
impl Default for LoggingSettings
Source§impl<'de> Deserialize<'de> for LoggingSettings
impl<'de> Deserialize<'de> for LoggingSettings
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 LoggingSettings
impl RefUnwindSafe for LoggingSettings
impl Send for LoggingSettings
impl Sync for LoggingSettings
impl Unpin for LoggingSettings
impl UnwindSafe for LoggingSettings
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