Struct google_compute1::api::FirewallLogConfig
source · pub struct FirewallLogConfig {
pub enable: Option<bool>,
pub metadata: Option<String>,
}
Expand description
The available logging options for a firewall rule.
This type is not used in any activity, and only used as part of another schema.
Fields§
§enable: Option<bool>
This field denotes whether to enable logging for a particular firewall rule.
metadata: Option<String>
This field can only be specified for a particular firewall rule if logging is enabled for that rule. This field denotes whether to include or exclude metadata for firewall logs.
Trait Implementations§
source§impl Clone for FirewallLogConfig
impl Clone for FirewallLogConfig
source§fn clone(&self) -> FirewallLogConfig
fn clone(&self) -> FirewallLogConfig
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 FirewallLogConfig
impl Debug for FirewallLogConfig
source§impl Default for FirewallLogConfig
impl Default for FirewallLogConfig
source§fn default() -> FirewallLogConfig
fn default() -> FirewallLogConfig
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for FirewallLogConfig
impl<'de> Deserialize<'de> for FirewallLogConfig
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 FirewallLogConfig
impl Serialize for FirewallLogConfig
impl Part for FirewallLogConfig
Auto Trait Implementations§
impl RefUnwindSafe for FirewallLogConfig
impl Send for FirewallLogConfig
impl Sync for FirewallLogConfig
impl Unpin for FirewallLogConfig
impl UnwindSafe for FirewallLogConfig
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