pub struct GwUpdateRemoteAccessSessionLogsSyslog {
pub enable: Option<String>,
pub enable_tls: Option<bool>,
pub formatter: Option<String>,
pub host: Option<String>,
pub json: Option<bool>,
pub network: Option<String>,
pub output_format: Option<String>,
pub pull_interval: Option<String>,
pub target_tag: Option<String>,
pub tls_certificate: Option<String>,
pub token: Option<String>,
pub uid_token: Option<String>,
}Expand description
GwUpdateRemoteAccessSessionLogsSyslog : gwUpdateRemoteAccessSessionLogsSyslog is a command that updates session log forwarding config (syslog target)
Fields§
§enable: Option<String>Enable Log Forwarding [true/false]
enable_tls: Option<bool>Enable tls relevant only for network type TCP
formatter: Option<String>Syslog formatter [text/cef]
host: Option<String>Syslog host
json: Option<bool>Set output format to JSON
network: Option<String>Syslog network [tcp/udp]
output_format: Option<String>Logs format [text/json]
pull_interval: Option<String>Pull interval in seconds
target_tag: Option<String>Syslog target tag
tls_certificate: Option<String>Syslog tls certificate
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 GwUpdateRemoteAccessSessionLogsSyslog
impl GwUpdateRemoteAccessSessionLogsSyslog
Sourcepub fn new() -> GwUpdateRemoteAccessSessionLogsSyslog
pub fn new() -> GwUpdateRemoteAccessSessionLogsSyslog
gwUpdateRemoteAccessSessionLogsSyslog is a command that updates session log forwarding config (syslog target)
Trait Implementations§
Source§impl Clone for GwUpdateRemoteAccessSessionLogsSyslog
impl Clone for GwUpdateRemoteAccessSessionLogsSyslog
Source§fn clone(&self) -> GwUpdateRemoteAccessSessionLogsSyslog
fn clone(&self) -> GwUpdateRemoteAccessSessionLogsSyslog
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 GwUpdateRemoteAccessSessionLogsSyslog
impl Default for GwUpdateRemoteAccessSessionLogsSyslog
Source§fn default() -> GwUpdateRemoteAccessSessionLogsSyslog
fn default() -> GwUpdateRemoteAccessSessionLogsSyslog
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GwUpdateRemoteAccessSessionLogsSyslog
impl<'de> Deserialize<'de> for GwUpdateRemoteAccessSessionLogsSyslog
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 GwUpdateRemoteAccessSessionLogsSyslog
impl PartialEq for GwUpdateRemoteAccessSessionLogsSyslog
Source§fn eq(&self, other: &GwUpdateRemoteAccessSessionLogsSyslog) -> bool
fn eq(&self, other: &GwUpdateRemoteAccessSessionLogsSyslog) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GwUpdateRemoteAccessSessionLogsSyslog
Auto Trait Implementations§
impl Freeze for GwUpdateRemoteAccessSessionLogsSyslog
impl RefUnwindSafe for GwUpdateRemoteAccessSessionLogsSyslog
impl Send for GwUpdateRemoteAccessSessionLogsSyslog
impl Sync for GwUpdateRemoteAccessSessionLogsSyslog
impl Unpin for GwUpdateRemoteAccessSessionLogsSyslog
impl UnsafeUnpin for GwUpdateRemoteAccessSessionLogsSyslog
impl UnwindSafe for GwUpdateRemoteAccessSessionLogsSyslog
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