pub struct LogrotateConfig {
pub frequency: Option<String>,
pub rotate: Option<u32>,
pub compress: bool,
pub delaycompress: bool,
pub missingok: bool,
pub notifempty: bool,
pub create: Option<CreateSpec>,
pub sharedscripts: bool,
pub postrotate: Option<String>,
}Fields§
§frequency: Option<String>§rotate: Option<u32>§compress: bool§delaycompress: bool§missingok: bool§notifempty: bool§create: Option<CreateSpec>§postrotate: Option<String>Trait Implementations§
Source§impl Clone for LogrotateConfig
impl Clone for LogrotateConfig
Source§fn clone(&self) -> LogrotateConfig
fn clone(&self) -> LogrotateConfig
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 moreAuto Trait Implementations§
impl Freeze for LogrotateConfig
impl RefUnwindSafe for LogrotateConfig
impl Send for LogrotateConfig
impl Sync for LogrotateConfig
impl Unpin for LogrotateConfig
impl UnsafeUnpin for LogrotateConfig
impl UnwindSafe for LogrotateConfig
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