pub struct LoggingSyslogAdditional {
pub message_type: Option<LoggingMessageType>,
pub hostname: Option<String>,
pub ipv4: Option<String>,
pub token: Option<String>,
pub use_tls: Option<LoggingUseTlsString>,
}
Fields§
§message_type: Option<LoggingMessageType>
§hostname: Option<String>
The hostname used for the syslog endpoint.
ipv4: Option<String>
The IPv4 address used for the syslog endpoint.
token: Option<String>
Whether to prepend each message with a specific token.
use_tls: Option<LoggingUseTlsString>
Implementations§
Source§impl LoggingSyslogAdditional
impl LoggingSyslogAdditional
pub fn new() -> LoggingSyslogAdditional
Trait Implementations§
Source§impl Clone for LoggingSyslogAdditional
impl Clone for LoggingSyslogAdditional
Source§fn clone(&self) -> LoggingSyslogAdditional
fn clone(&self) -> LoggingSyslogAdditional
Returns a duplicate of the value. Read more
1.0.0 · 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 LoggingSyslogAdditional
impl Debug for LoggingSyslogAdditional
Source§impl Default for LoggingSyslogAdditional
impl Default for LoggingSyslogAdditional
Source§fn default() -> LoggingSyslogAdditional
fn default() -> LoggingSyslogAdditional
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LoggingSyslogAdditional
impl<'de> Deserialize<'de> for LoggingSyslogAdditional
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
Source§impl PartialEq for LoggingSyslogAdditional
impl PartialEq for LoggingSyslogAdditional
Source§impl Serialize for LoggingSyslogAdditional
impl Serialize for LoggingSyslogAdditional
impl StructuralPartialEq for LoggingSyslogAdditional
Auto Trait Implementations§
impl Freeze for LoggingSyslogAdditional
impl RefUnwindSafe for LoggingSyslogAdditional
impl Send for LoggingSyslogAdditional
impl Sync for LoggingSyslogAdditional
impl Unpin for LoggingSyslogAdditional
impl UnwindSafe for LoggingSyslogAdditional
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