#[non_exhaustive]pub struct SyslogArchive {
pub files: Option<String>,
pub size: Option<String>,
pub world_readable: Option<bool>,
}Expand description
A syslog archive statement. archive-sites, start-time and transfer-interval are not extracted.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.files: Option<String>Maximum number of archived files.
size: Option<String>Maximum file size, e.g. "1m".
world_readable: Option<bool>Some(true) for world-readable, Some(false) for no-world-readable.
Trait Implementations§
Source§impl Clone for SyslogArchive
impl Clone for SyslogArchive
Source§impl Debug for SyslogArchive
impl Debug for SyslogArchive
Source§impl Default for SyslogArchive
impl Default for SyslogArchive
impl Eq for SyslogArchive
Source§impl PartialEq for SyslogArchive
impl PartialEq for SyslogArchive
impl StructuralPartialEq for SyslogArchive
Auto Trait Implementations§
impl Forget for SyslogArchive
impl Freeze for SyslogArchive
impl Move for SyslogArchive
impl RefUnwindSafe for SyslogArchive
impl Send for SyslogArchive
impl Sync for SyslogArchive
impl Unpin for SyslogArchive
impl UnsafeUnpin for SyslogArchive
impl UnwindSafe for SyslogArchive
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