pub struct SyslogExportConfig {
pub address: String,
pub port: u16,
pub protocol: String,
}Expand description
Configuration for the syslog audit exporter (RFC 5424).
Fields§
§address: StringSyslog server hostname or IP.
port: u16Syslog server port (default: 514).
protocol: StringTransport protocol: “tcp” or “udp” (default: “udp”).
Trait Implementations§
Source§impl Clone for SyslogExportConfig
impl Clone for SyslogExportConfig
Source§fn clone(&self) -> SyslogExportConfig
fn clone(&self) -> SyslogExportConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SyslogExportConfig
impl Debug for SyslogExportConfig
Source§impl<'de> Deserialize<'de> for SyslogExportConfig
impl<'de> Deserialize<'de> for SyslogExportConfig
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 SyslogExportConfig
impl RefUnwindSafe for SyslogExportConfig
impl Send for SyslogExportConfig
impl Sync for SyslogExportConfig
impl Unpin for SyslogExportConfig
impl UnsafeUnpin for SyslogExportConfig
impl UnwindSafe for SyslogExportConfig
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