#[non_exhaustive]pub struct GetManagedRuleSetOutput {
pub managed_rule_set: Option<ManagedRuleSet>,
pub lock_token: Option<String>,
/* private fields */
}
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.managed_rule_set: Option<ManagedRuleSet>
The managed rule set that you requested.
lock_token: Option<String>
A token used for optimistic locking. WAF returns a token to your get
and list
requests, to mark the state of the entity at the time of the request. To make changes to the entity associated with the token, you provide the token to operations like update
and delete
. WAF uses the token to ensure that no changes have been made to the entity since you last retrieved it. If a change has been made, the update fails with a WAFOptimisticLockException
. If this happens, perform another get
, and use the new token returned by that operation.
Implementations§
source§impl GetManagedRuleSetOutput
impl GetManagedRuleSetOutput
sourcepub fn managed_rule_set(&self) -> Option<&ManagedRuleSet>
pub fn managed_rule_set(&self) -> Option<&ManagedRuleSet>
The managed rule set that you requested.
sourcepub fn lock_token(&self) -> Option<&str>
pub fn lock_token(&self) -> Option<&str>
A token used for optimistic locking. WAF returns a token to your get
and list
requests, to mark the state of the entity at the time of the request. To make changes to the entity associated with the token, you provide the token to operations like update
and delete
. WAF uses the token to ensure that no changes have been made to the entity since you last retrieved it. If a change has been made, the update fails with a WAFOptimisticLockException
. If this happens, perform another get
, and use the new token returned by that operation.
source§impl GetManagedRuleSetOutput
impl GetManagedRuleSetOutput
sourcepub fn builder() -> GetManagedRuleSetOutputBuilder
pub fn builder() -> GetManagedRuleSetOutputBuilder
Creates a new builder-style object to manufacture GetManagedRuleSetOutput
.
Trait Implementations§
source§impl Clone for GetManagedRuleSetOutput
impl Clone for GetManagedRuleSetOutput
source§fn clone(&self) -> GetManagedRuleSetOutput
fn clone(&self) -> GetManagedRuleSetOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetManagedRuleSetOutput
impl Debug for GetManagedRuleSetOutput
source§impl PartialEq for GetManagedRuleSetOutput
impl PartialEq for GetManagedRuleSetOutput
source§fn eq(&self, other: &GetManagedRuleSetOutput) -> bool
fn eq(&self, other: &GetManagedRuleSetOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for GetManagedRuleSetOutput
impl RequestId for GetManagedRuleSetOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for GetManagedRuleSetOutput
Auto Trait Implementations§
impl Freeze for GetManagedRuleSetOutput
impl RefUnwindSafe for GetManagedRuleSetOutput
impl Send for GetManagedRuleSetOutput
impl Sync for GetManagedRuleSetOutput
impl Unpin for GetManagedRuleSetOutput
impl UnwindSafe for GetManagedRuleSetOutput
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more