pub struct SyslogFilterUpdate {
pub lowest_severity: Option<SyslogSeverity>,
pub log_facilities: Option<Vec<SyslogFacility>>,
}Expand description
Update struct corresponding to SyslogFilter
Fields§
§lowest_severity: Option<SyslogSeverity>§log_facilities: Option<Vec<SyslogFacility>>Implementations§
Source§impl SyslogFilterUpdate
impl SyslogFilterUpdate
pub fn builder() -> Self
pub const fn build(self) -> Self
pub fn with_lowest_severity(self, v: SyslogSeverity) -> Self
pub fn with_log_facilities(self, v: Vec<SyslogFacility>) -> Self
Trait Implementations§
Source§impl Debug for SyslogFilterUpdate
impl Debug for SyslogFilterUpdate
Source§impl Default for SyslogFilterUpdate
impl Default for SyslogFilterUpdate
Source§fn default() -> SyslogFilterUpdate
fn default() -> SyslogFilterUpdate
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SyslogFilterUpdate
impl RefUnwindSafe for SyslogFilterUpdate
impl Send for SyslogFilterUpdate
impl Sync for SyslogFilterUpdate
impl Unpin for SyslogFilterUpdate
impl UnsafeUnpin for SyslogFilterUpdate
impl UnwindSafe for SyslogFilterUpdate
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