Struct fastly_api::models::legacy_waf_rule::LegacyWafRule
source · pub struct LegacyWafRule {
pub message: Option<String>,
pub rule_id: Option<String>,
pub severity: Option<i32>,
pub source: Option<String>,
pub vcl: Option<String>,
}Fields§
§message: Option<String>Message metadata for the rule.
rule_id: Option<String>Corresponding ModSecurity rule ID.
severity: Option<i32>Severity metadata for the rule.
source: Option<String>The ModSecurity rule logic.
vcl: Option<String>The VCL representation of the rule logic.
Implementations§
source§impl LegacyWafRule
impl LegacyWafRule
pub fn new() -> LegacyWafRule
Trait Implementations§
source§impl Clone for LegacyWafRule
impl Clone for LegacyWafRule
source§fn clone(&self) -> LegacyWafRule
fn clone(&self) -> LegacyWafRule
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 LegacyWafRule
impl Debug for LegacyWafRule
source§impl Default for LegacyWafRule
impl Default for LegacyWafRule
source§fn default() -> LegacyWafRule
fn default() -> LegacyWafRule
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for LegacyWafRule
impl<'de> Deserialize<'de> for LegacyWafRule
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<LegacyWafRule> for LegacyWafRule
impl PartialEq<LegacyWafRule> for LegacyWafRule
source§fn eq(&self, other: &LegacyWafRule) -> bool
fn eq(&self, other: &LegacyWafRule) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for LegacyWafRule
impl Serialize for LegacyWafRule
impl StructuralPartialEq for LegacyWafRule
Auto Trait Implementations§
impl RefUnwindSafe for LegacyWafRule
impl Send for LegacyWafRule
impl Sync for LegacyWafRule
impl Unpin for LegacyWafRule
impl UnwindSafe for LegacyWafRule
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