#[non_exhaustive]pub struct SyslogHost {
pub address: String,
pub rules: Vec<SyslogRule>,
pub port: Option<String>,
pub source_address: Option<String>,
pub routing_instance: Option<String>,
pub facility_override: Option<String>,
pub log_prefix: Option<String>,
pub allow_duplicates: bool,
pub explicit_priority: bool,
pub exclude_hostname: bool,
pub match_regex: Option<String>,
}Expand description
A host <address> 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.address: StringAddress, hostname, or other-routing-engine.
rules: Vec<SyslogRule>§port: Option<String>§source_address: Option<String>§routing_instance: Option<String>§facility_override: Option<String>§log_prefix: Option<String>§allow_duplicates: bool§explicit_priority: bool§exclude_hostname: bool§match_regex: Option<String>The regular expression from match.
Trait Implementations§
Source§impl Clone for SyslogHost
impl Clone for SyslogHost
Source§impl Debug for SyslogHost
impl Debug for SyslogHost
impl Eq for SyslogHost
Source§impl PartialEq for SyslogHost
impl PartialEq for SyslogHost
impl StructuralPartialEq for SyslogHost
Auto Trait Implementations§
impl Forget for SyslogHost
impl Freeze for SyslogHost
impl Move for SyslogHost
impl RefUnwindSafe for SyslogHost
impl Send for SyslogHost
impl Sync for SyslogHost
impl Unpin for SyslogHost
impl UnsafeUnpin for SyslogHost
impl UnwindSafe for SyslogHost
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