pub struct SyslogFilter {
pub lowest_severity: Option<Option<SyslogSeverity>>,
pub log_facilities: Option<Option<Vec<SyslogFacility>>>,
}Expand description
A syslog filter.
This type shall contain the filter for a syslog message. The filter shall describe the desired syslog message to be enabled locally.
Fields§
§lowest_severity: Option<Option<SyslogSeverity>>The lowest severity level message that will be logged.
This property shall contain the lowest syslog severity level that will be logged. The service
shall log all messages equal to or greater than the value in this property. The value All shall
indicate all severities.
log_facilities: Option<Option<Vec<SyslogFacility>>>The types of programs that can log messages.
This property shall contain the types of programs that can log messages. If this property contains an empty array or is absent, all facilities shall be indicated.
Trait Implementations§
Source§impl Debug for SyslogFilter
impl Debug for SyslogFilter
Source§impl<'de> Deserialize<'de> for SyslogFilter
impl<'de> Deserialize<'de> for SyslogFilter
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 SyslogFilter
impl RefUnwindSafe for SyslogFilter
impl Send for SyslogFilter
impl Sync for SyslogFilter
impl Unpin for SyslogFilter
impl UnsafeUnpin for SyslogFilter
impl UnwindSafe for SyslogFilter
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