pub struct LoggingSyslogAllOf {
pub message_type: Option<LoggingMessageType>,
pub hostname: Option<String>,
pub ipv4: Option<String>,
pub token: Option<String>,
pub use_tls: Option<LoggingUseTls>,
}
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<LoggingUseTls>
Implementations§
source§impl LoggingSyslogAllOf
impl LoggingSyslogAllOf
pub fn new() -> LoggingSyslogAllOf
Trait Implementations§
source§impl Clone for LoggingSyslogAllOf
impl Clone for LoggingSyslogAllOf
source§fn clone(&self) -> LoggingSyslogAllOf
fn clone(&self) -> LoggingSyslogAllOf
Returns a copy 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 LoggingSyslogAllOf
impl Debug for LoggingSyslogAllOf
source§impl Default for LoggingSyslogAllOf
impl Default for LoggingSyslogAllOf
source§fn default() -> LoggingSyslogAllOf
fn default() -> LoggingSyslogAllOf
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for LoggingSyslogAllOf
impl<'de> Deserialize<'de> for LoggingSyslogAllOf
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<LoggingSyslogAllOf> for LoggingSyslogAllOf
impl PartialEq<LoggingSyslogAllOf> for LoggingSyslogAllOf
source§fn eq(&self, other: &LoggingSyslogAllOf) -> bool
fn eq(&self, other: &LoggingSyslogAllOf) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for LoggingSyslogAllOf
impl Serialize for LoggingSyslogAllOf
impl StructuralPartialEq for LoggingSyslogAllOf
Auto Trait Implementations§
impl RefUnwindSafe for LoggingSyslogAllOf
impl Send for LoggingSyslogAllOf
impl Sync for LoggingSyslogAllOf
impl Unpin for LoggingSyslogAllOf
impl UnwindSafe for LoggingSyslogAllOf
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