#[non_exhaustive]pub struct SyslogTarget {
pub name: String,
pub rules: Vec<SyslogRule>,
}Expand description
A file <name> or user <name> destination.
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.name: StringFile name, or user name (* for all users).
rules: Vec<SyslogRule>Trait Implementations§
Source§impl Clone for SyslogTarget
impl Clone for SyslogTarget
Source§impl Debug for SyslogTarget
impl Debug for SyslogTarget
impl Eq for SyslogTarget
Source§impl PartialEq for SyslogTarget
impl PartialEq for SyslogTarget
impl StructuralPartialEq for SyslogTarget
Auto Trait Implementations§
impl Forget for SyslogTarget
impl Freeze for SyslogTarget
impl Move for SyslogTarget
impl RefUnwindSafe for SyslogTarget
impl Send for SyslogTarget
impl Sync for SyslogTarget
impl Unpin for SyslogTarget
impl UnsafeUnpin for SyslogTarget
impl UnwindSafe for SyslogTarget
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