Struct aws_sdk_wafv2::operation::list_available_managed_rule_group_versions::ListAvailableManagedRuleGroupVersionsOutput
source · #[non_exhaustive]pub struct ListAvailableManagedRuleGroupVersionsOutput {
pub next_marker: Option<String>,
pub versions: Option<Vec<ManagedRuleGroupVersion>>,
pub current_default_version: 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.next_marker: Option<String>
When you request a list of objects with a Limit
setting, if the number of objects that are still available for retrieval exceeds the limit, WAF returns a NextMarker
value in the response. To retrieve the next batch of objects, provide the marker from the prior call in your next request.
versions: Option<Vec<ManagedRuleGroupVersion>>
The versions that are currently available for the specified managed rule group. If you specified a Limit
in your request, this might not be the full list.
current_default_version: Option<String>
The name of the version that's currently set as the default.
Implementations§
source§impl ListAvailableManagedRuleGroupVersionsOutput
impl ListAvailableManagedRuleGroupVersionsOutput
sourcepub fn next_marker(&self) -> Option<&str>
pub fn next_marker(&self) -> Option<&str>
When you request a list of objects with a Limit
setting, if the number of objects that are still available for retrieval exceeds the limit, WAF returns a NextMarker
value in the response. To retrieve the next batch of objects, provide the marker from the prior call in your next request.
sourcepub fn versions(&self) -> &[ManagedRuleGroupVersion]
pub fn versions(&self) -> &[ManagedRuleGroupVersion]
The versions that are currently available for the specified managed rule group. If you specified a Limit
in your request, this might not be the full list.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .versions.is_none()
.
sourcepub fn current_default_version(&self) -> Option<&str>
pub fn current_default_version(&self) -> Option<&str>
The name of the version that's currently set as the default.
source§impl ListAvailableManagedRuleGroupVersionsOutput
impl ListAvailableManagedRuleGroupVersionsOutput
sourcepub fn builder() -> ListAvailableManagedRuleGroupVersionsOutputBuilder
pub fn builder() -> ListAvailableManagedRuleGroupVersionsOutputBuilder
Creates a new builder-style object to manufacture ListAvailableManagedRuleGroupVersionsOutput
.
Trait Implementations§
source§impl Clone for ListAvailableManagedRuleGroupVersionsOutput
impl Clone for ListAvailableManagedRuleGroupVersionsOutput
source§fn clone(&self) -> ListAvailableManagedRuleGroupVersionsOutput
fn clone(&self) -> ListAvailableManagedRuleGroupVersionsOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for ListAvailableManagedRuleGroupVersionsOutput
impl PartialEq for ListAvailableManagedRuleGroupVersionsOutput
source§fn eq(&self, other: &ListAvailableManagedRuleGroupVersionsOutput) -> bool
fn eq(&self, other: &ListAvailableManagedRuleGroupVersionsOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for ListAvailableManagedRuleGroupVersionsOutput
impl RequestId for ListAvailableManagedRuleGroupVersionsOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for ListAvailableManagedRuleGroupVersionsOutput
Auto Trait Implementations§
impl Freeze for ListAvailableManagedRuleGroupVersionsOutput
impl RefUnwindSafe for ListAvailableManagedRuleGroupVersionsOutput
impl Send for ListAvailableManagedRuleGroupVersionsOutput
impl Sync for ListAvailableManagedRuleGroupVersionsOutput
impl Unpin for ListAvailableManagedRuleGroupVersionsOutput
impl UnwindSafe for ListAvailableManagedRuleGroupVersionsOutput
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