pub struct LogsConfig {
pub max_size_bytes: u64,
pub max_age_days: u32,
pub max_files: u32,
}Fields§
§max_size_bytes: u64§max_age_days: u32§max_files: u32Trait Implementations§
Source§impl Clone for LogsConfig
impl Clone for LogsConfig
Source§fn clone(&self) -> LogsConfig
fn clone(&self) -> LogsConfig
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 LogsConfig
impl Debug for LogsConfig
Source§impl Default for LogsConfig
impl Default for LogsConfig
Source§impl<'de> Deserialize<'de> for LogsConfig
impl<'de> Deserialize<'de> for LogsConfig
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 LogsConfig
impl RefUnwindSafe for LogsConfig
impl Send for LogsConfig
impl Sync for LogsConfig
impl Unpin for LogsConfig
impl UnsafeUnpin for LogsConfig
impl UnwindSafe for LogsConfig
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