pub struct GatewayUpdateLogForwardingStdout {
pub enable: Option<String>,
pub json: Option<bool>,
pub output_format: Option<String>,
pub pull_interval: Option<String>,
pub token: Option<String>,
pub uid_token: Option<String>,
}Expand description
GatewayUpdateLogForwardingStdout : gatewayUpdateLogForwardingStdout is a command that updates log forwarding config (stdout target)
Fields§
§enable: Option<String>Enable Log Forwarding [true/false]
json: Option<bool>Set output format to JSON
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 GatewayUpdateLogForwardingStdout
impl GatewayUpdateLogForwardingStdout
Sourcepub fn new() -> GatewayUpdateLogForwardingStdout
pub fn new() -> GatewayUpdateLogForwardingStdout
gatewayUpdateLogForwardingStdout is a command that updates log forwarding config (stdout target)
Trait Implementations§
Source§impl Clone for GatewayUpdateLogForwardingStdout
impl Clone for GatewayUpdateLogForwardingStdout
Source§fn clone(&self) -> GatewayUpdateLogForwardingStdout
fn clone(&self) -> GatewayUpdateLogForwardingStdout
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 GatewayUpdateLogForwardingStdout
impl Default for GatewayUpdateLogForwardingStdout
Source§fn default() -> GatewayUpdateLogForwardingStdout
fn default() -> GatewayUpdateLogForwardingStdout
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GatewayUpdateLogForwardingStdout
impl<'de> Deserialize<'de> for GatewayUpdateLogForwardingStdout
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 GatewayUpdateLogForwardingStdout
impl PartialEq for GatewayUpdateLogForwardingStdout
Source§fn eq(&self, other: &GatewayUpdateLogForwardingStdout) -> bool
fn eq(&self, other: &GatewayUpdateLogForwardingStdout) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GatewayUpdateLogForwardingStdout
Auto Trait Implementations§
impl Freeze for GatewayUpdateLogForwardingStdout
impl RefUnwindSafe for GatewayUpdateLogForwardingStdout
impl Send for GatewayUpdateLogForwardingStdout
impl Sync for GatewayUpdateLogForwardingStdout
impl Unpin for GatewayUpdateLogForwardingStdout
impl UnsafeUnpin for GatewayUpdateLogForwardingStdout
impl UnwindSafe for GatewayUpdateLogForwardingStdout
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