Struct simple_log::LogConfig
source · [−]pub struct LogConfig {
pub path: String,
pub level: String,
pub size: u64,
pub out_kind: Vec<OutKind>,
pub roll_count: u32,
pub time_format: Option<String>,
}
Fields
path: String
level: String
size: u64
out_kind: Vec<OutKind>
roll_count: u32
time_format: Option<String>
Implementations
Trait Implementations
sourceimpl<'de> Deserialize<'de> for LogConfig
impl<'de> Deserialize<'de> for LogConfig
sourcefn 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
impl StructuralPartialEq for LogConfig
Auto Trait Implementations
impl RefUnwindSafe for LogConfig
impl Send for LogConfig
impl Sync for LogConfig
impl Unpin for LogConfig
impl UnwindSafe for LogConfig
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more