pub struct WebACLUpdate {
pub action: String,
pub activated_rule: ActivatedRule,
}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.
Specifies whether to insert a Rule into or delete a Rule from a WebACL.
Fields§
§action: StringSpecifies whether to insert a Rule into or delete a Rule from a WebACL.
activated_rule: ActivatedRuleThe ActivatedRule object in an UpdateWebACL request specifies a Rule that you want to insert or delete, the priority of the Rule in the WebACL, and the action that you want AWS WAF to take when a web request matches the Rule (ALLOW, BLOCK, or COUNT).
Trait Implementations§
Source§impl Clone for WebACLUpdate
impl Clone for WebACLUpdate
Source§fn clone(&self) -> WebACLUpdate
fn clone(&self) -> WebACLUpdate
Returns a duplicate 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 WebACLUpdate
impl Debug for WebACLUpdate
Source§impl Default for WebACLUpdate
impl Default for WebACLUpdate
Source§fn default() -> WebACLUpdate
fn default() -> WebACLUpdate
Returns the “default value” for a type. Read more
Source§impl PartialEq for WebACLUpdate
impl PartialEq for WebACLUpdate
Source§impl Serialize for WebACLUpdate
impl Serialize for WebACLUpdate
impl StructuralPartialEq for WebACLUpdate
Auto Trait Implementations§
impl Freeze for WebACLUpdate
impl RefUnwindSafe for WebACLUpdate
impl Send for WebACLUpdate
impl Sync for WebACLUpdate
impl Unpin for WebACLUpdate
impl UnwindSafe for WebACLUpdate
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