pub struct LogFileConfig {
pub path: String,
pub format: Option<String>,
pub rotate_size: Option<u64>,
pub rotate_keep: Option<usize>,
}Expand description
Log file configuration for access and error logs.
Fields§
§path: String§format: Option<String>§rotate_size: Option<u64>§rotate_keep: Option<usize>Trait Implementations§
Source§impl Clone for LogFileConfig
impl Clone for LogFileConfig
Source§fn clone(&self) -> LogFileConfig
fn clone(&self) -> LogFileConfig
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 LogFileConfig
impl Debug for LogFileConfig
Auto Trait Implementations§
impl Freeze for LogFileConfig
impl RefUnwindSafe for LogFileConfig
impl Send for LogFileConfig
impl Sync for LogFileConfig
impl Unpin for LogFileConfig
impl UnsafeUnpin for LogFileConfig
impl UnwindSafe for LogFileConfig
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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