pub struct LoggerFileConfig {
pub name: Option<String>,
pub level: String,
pub dir: Option<String>,
pub debug: Option<String>,
pub info: Option<String>,
pub trace: Option<String>,
pub error: Option<String>,
pub warn: Option<String>,
}Fields§
§name: Option<String>§level: String§dir: Option<String>§debug: Option<String>§info: Option<String>§trace: Option<String>§error: Option<String>§warn: Option<String>Trait Implementations§
Source§impl Clone for LoggerFileConfig
impl Clone for LoggerFileConfig
Source§fn clone(&self) -> LoggerFileConfig
fn clone(&self) -> LoggerFileConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LoggerFileConfig
impl Debug for LoggerFileConfig
Source§impl Default for LoggerFileConfig
impl Default for LoggerFileConfig
Source§fn default() -> LoggerFileConfig
fn default() -> LoggerFileConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LoggerFileConfig
impl<'de> Deserialize<'de> for LoggerFileConfig
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 LoggerFileConfig
impl PartialEq for LoggerFileConfig
Source§fn eq(&self, other: &LoggerFileConfig) -> bool
fn eq(&self, other: &LoggerFileConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for LoggerFileConfig
impl Serialize for LoggerFileConfig
impl StructuralPartialEq for LoggerFileConfig
Auto Trait Implementations§
impl Freeze for LoggerFileConfig
impl RefUnwindSafe for LoggerFileConfig
impl Send for LoggerFileConfig
impl Sync for LoggerFileConfig
impl Unpin for LoggerFileConfig
impl UnsafeUnpin for LoggerFileConfig
impl UnwindSafe for LoggerFileConfig
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