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