Struct google_compute1::api::RouterNatLogConfig
source · pub struct RouterNatLogConfig {
pub enable: Option<bool>,
pub filter: Option<String>,
}
Expand description
Configuration of logging on a NAT.
This type is not used in any activity, and only used as part of another schema.
Fields§
§enable: Option<bool>
Indicates whether or not to export logs. This is false by default.
filter: Option<String>
Specify the desired filtering of logs on this NAT. If unspecified, logs are exported for all connections handled by this NAT. This option can take one of the following values: - ERRORS_ONLY: Export logs only for connection failures. - TRANSLATIONS_ONLY: Export logs only for successful connections. - ALL: Export logs for all connections, successful and unsuccessful.
Trait Implementations§
source§impl Clone for RouterNatLogConfig
impl Clone for RouterNatLogConfig
source§fn clone(&self) -> RouterNatLogConfig
fn clone(&self) -> RouterNatLogConfig
Returns a copy of the value. Read more
1.0.0 · 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 RouterNatLogConfig
impl Debug for RouterNatLogConfig
source§impl Default for RouterNatLogConfig
impl Default for RouterNatLogConfig
source§fn default() -> RouterNatLogConfig
fn default() -> RouterNatLogConfig
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for RouterNatLogConfig
impl<'de> Deserialize<'de> for RouterNatLogConfig
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 Serialize for RouterNatLogConfig
impl Serialize for RouterNatLogConfig
impl Part for RouterNatLogConfig
Auto Trait Implementations§
impl RefUnwindSafe for RouterNatLogConfig
impl Send for RouterNatLogConfig
impl Sync for RouterNatLogConfig
impl Unpin for RouterNatLogConfig
impl UnwindSafe for RouterNatLogConfig
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