pub struct GatewayUpdateLogForwardingDatadog {
pub api_key: Option<String>,
pub enable: Option<String>,
pub host: Option<String>,
pub json: Option<bool>,
pub log_service: Option<String>,
pub log_source: Option<String>,
pub log_tags: Option<String>,
pub output_format: Option<String>,
pub pull_interval: Option<String>,
pub token: Option<String>,
pub uid_token: Option<String>,
}Expand description
GatewayUpdateLogForwardingDatadog : gatewayUpdateLogForwardingDatadog is a command that updates log forwarding config (datadog target)
Fields§
§api_key: Option<String>Datadog api key
enable: Option<String>Enable Log Forwarding [true/false]
host: Option<String>Datadog host
json: Option<bool>Set output format to JSON
log_service: Option<String>Datadog log service
log_source: Option<String>Datadog log source
A comma-separated list of Datadog log tags formatted as "key:value" strings
output_format: Option<String>Logs format [text/json]
pull_interval: Option<String>Pull interval in seconds
token: Option<String>Authentication token (see /auth and /configure)
uid_token: Option<String>The universal identity token, Required only for universal_identity authentication
Implementations§
Source§impl GatewayUpdateLogForwardingDatadog
impl GatewayUpdateLogForwardingDatadog
Sourcepub fn new() -> GatewayUpdateLogForwardingDatadog
pub fn new() -> GatewayUpdateLogForwardingDatadog
gatewayUpdateLogForwardingDatadog is a command that updates log forwarding config (datadog target)
Trait Implementations§
Source§impl Clone for GatewayUpdateLogForwardingDatadog
impl Clone for GatewayUpdateLogForwardingDatadog
Source§fn clone(&self) -> GatewayUpdateLogForwardingDatadog
fn clone(&self) -> GatewayUpdateLogForwardingDatadog
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 Default for GatewayUpdateLogForwardingDatadog
impl Default for GatewayUpdateLogForwardingDatadog
Source§fn default() -> GatewayUpdateLogForwardingDatadog
fn default() -> GatewayUpdateLogForwardingDatadog
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GatewayUpdateLogForwardingDatadog
impl<'de> Deserialize<'de> for GatewayUpdateLogForwardingDatadog
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 GatewayUpdateLogForwardingDatadog
impl PartialEq for GatewayUpdateLogForwardingDatadog
Source§fn eq(&self, other: &GatewayUpdateLogForwardingDatadog) -> bool
fn eq(&self, other: &GatewayUpdateLogForwardingDatadog) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GatewayUpdateLogForwardingDatadog
Auto Trait Implementations§
impl Freeze for GatewayUpdateLogForwardingDatadog
impl RefUnwindSafe for GatewayUpdateLogForwardingDatadog
impl Send for GatewayUpdateLogForwardingDatadog
impl Sync for GatewayUpdateLogForwardingDatadog
impl Unpin for GatewayUpdateLogForwardingDatadog
impl UnsafeUnpin for GatewayUpdateLogForwardingDatadog
impl UnwindSafe for GatewayUpdateLogForwardingDatadog
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