Struct fastly_api::models::waf_rule_revision::WafRuleRevision
source · pub struct WafRuleRevision {
pub _type: Option<TypeWafRuleRevision>,
pub id: Option<String>,
pub attributes: Option<Box<WafRuleRevisionAttributes>>,
}
Fields§
§_type: Option<TypeWafRuleRevision>
§id: Option<String>
Alphanumeric string identifying a WAF rule revision.
attributes: Option<Box<WafRuleRevisionAttributes>>
Implementations§
source§impl WafRuleRevision
impl WafRuleRevision
pub fn new() -> WafRuleRevision
Trait Implementations§
source§impl Clone for WafRuleRevision
impl Clone for WafRuleRevision
source§fn clone(&self) -> WafRuleRevision
fn clone(&self) -> WafRuleRevision
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 WafRuleRevision
impl Debug for WafRuleRevision
source§impl Default for WafRuleRevision
impl Default for WafRuleRevision
source§fn default() -> WafRuleRevision
fn default() -> WafRuleRevision
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for WafRuleRevision
impl<'de> Deserialize<'de> for WafRuleRevision
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<WafRuleRevision> for WafRuleRevision
impl PartialEq<WafRuleRevision> for WafRuleRevision
source§fn eq(&self, other: &WafRuleRevision) -> bool
fn eq(&self, other: &WafRuleRevision) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for WafRuleRevision
impl Serialize for WafRuleRevision
impl StructuralPartialEq for WafRuleRevision
Auto Trait Implementations§
impl RefUnwindSafe for WafRuleRevision
impl Send for WafRuleRevision
impl Sync for WafRuleRevision
impl Unpin for WafRuleRevision
impl UnwindSafe for WafRuleRevision
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