Struct aws_sdk_waf::types::RuleSummary
source · #[non_exhaustive]pub struct RuleSummary {
pub rule_id: String,
pub name: String,
}Expand description
This is AWS WAF Classic documentation. For more information, see AWS WAF Classic in the developer guide.
For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
Contains the identifier and the friendly name or description of the Rule.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.rule_id: StringA unique identifier for a Rule. You use RuleId to get more information about a Rule (see GetRule), update a Rule (see UpdateRule), insert a Rule into a WebACL or delete one from a WebACL (see UpdateWebACL), or delete a Rule from AWS WAF (see DeleteRule).
RuleId is returned by CreateRule and by ListRules.
name: StringA friendly name or description of the Rule. You can't change the name of a Rule after you create it.
Implementations§
source§impl RuleSummary
impl RuleSummary
sourcepub fn rule_id(&self) -> &str
pub fn rule_id(&self) -> &str
A unique identifier for a Rule. You use RuleId to get more information about a Rule (see GetRule), update a Rule (see UpdateRule), insert a Rule into a WebACL or delete one from a WebACL (see UpdateWebACL), or delete a Rule from AWS WAF (see DeleteRule).
RuleId is returned by CreateRule and by ListRules.
source§impl RuleSummary
impl RuleSummary
sourcepub fn builder() -> RuleSummaryBuilder
pub fn builder() -> RuleSummaryBuilder
Creates a new builder-style object to manufacture RuleSummary.
Trait Implementations§
source§impl Clone for RuleSummary
impl Clone for RuleSummary
source§fn clone(&self) -> RuleSummary
fn clone(&self) -> RuleSummary
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for RuleSummary
impl Debug for RuleSummary
source§impl PartialEq for RuleSummary
impl PartialEq for RuleSummary
source§fn eq(&self, other: &RuleSummary) -> bool
fn eq(&self, other: &RuleSummary) -> bool
self and other values to be equal, and is used
by ==.