pub struct LogstashLogForwardingConfig {
pub logstash_dns: Option<String>,
pub logstash_enable_tls: Option<bool>,
pub logstash_protocol: Option<String>,
pub logstash_tls_certificate: Option<String>,
}Fields§
§logstash_dns: Option<String>§logstash_enable_tls: Option<bool>§logstash_protocol: Option<String>§logstash_tls_certificate: Option<String>Implementations§
Source§impl LogstashLogForwardingConfig
impl LogstashLogForwardingConfig
pub fn new() -> LogstashLogForwardingConfig
Trait Implementations§
Source§impl Clone for LogstashLogForwardingConfig
impl Clone for LogstashLogForwardingConfig
Source§fn clone(&self) -> LogstashLogForwardingConfig
fn clone(&self) -> LogstashLogForwardingConfig
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 LogstashLogForwardingConfig
impl Debug for LogstashLogForwardingConfig
Source§impl Default for LogstashLogForwardingConfig
impl Default for LogstashLogForwardingConfig
Source§fn default() -> LogstashLogForwardingConfig
fn default() -> LogstashLogForwardingConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LogstashLogForwardingConfig
impl<'de> Deserialize<'de> for LogstashLogForwardingConfig
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 LogstashLogForwardingConfig
impl PartialEq for LogstashLogForwardingConfig
Source§fn eq(&self, other: &LogstashLogForwardingConfig) -> bool
fn eq(&self, other: &LogstashLogForwardingConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LogstashLogForwardingConfig
Auto Trait Implementations§
impl Freeze for LogstashLogForwardingConfig
impl RefUnwindSafe for LogstashLogForwardingConfig
impl Send for LogstashLogForwardingConfig
impl Sync for LogstashLogForwardingConfig
impl Unpin for LogstashLogForwardingConfig
impl UnsafeUnpin for LogstashLogForwardingConfig
impl UnwindSafe for LogstashLogForwardingConfig
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