pub struct LegacyWafConfigurationSet {
pub active: Option<bool>,
pub name: Option<String>,
}
Fields§
§active: Option<bool>
The active configuration set is the default configuration set when creating a new WAF. When Fastly adds configuration sets, the new versions become the default (active).
name: Option<String>
The name of the configuration set.
Implementations§
source§impl LegacyWafConfigurationSet
impl LegacyWafConfigurationSet
pub fn new() -> LegacyWafConfigurationSet
Trait Implementations§
source§impl Clone for LegacyWafConfigurationSet
impl Clone for LegacyWafConfigurationSet
source§fn clone(&self) -> LegacyWafConfigurationSet
fn clone(&self) -> LegacyWafConfigurationSet
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 LegacyWafConfigurationSet
impl Debug for LegacyWafConfigurationSet
source§impl Default for LegacyWafConfigurationSet
impl Default for LegacyWafConfigurationSet
source§fn default() -> LegacyWafConfigurationSet
fn default() -> LegacyWafConfigurationSet
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for LegacyWafConfigurationSet
impl<'de> Deserialize<'de> for LegacyWafConfigurationSet
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<LegacyWafConfigurationSet> for LegacyWafConfigurationSet
impl PartialEq<LegacyWafConfigurationSet> for LegacyWafConfigurationSet
source§fn eq(&self, other: &LegacyWafConfigurationSet) -> bool
fn eq(&self, other: &LegacyWafConfigurationSet) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LegacyWafConfigurationSet
Auto Trait Implementations§
impl RefUnwindSafe for LegacyWafConfigurationSet
impl Send for LegacyWafConfigurationSet
impl Sync for LegacyWafConfigurationSet
impl Unpin for LegacyWafConfigurationSet
impl UnwindSafe for LegacyWafConfigurationSet
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