#[non_exhaustive]pub struct ListProtectionGroupsOutput {
pub protection_groups: Vec<ProtectionGroup>,
pub next_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.protection_groups: Vec<ProtectionGroup>next_token: Option<String>When you request a list of objects from Shield Advanced, if the response does not include all of the remaining available objects, Shield Advanced includes a NextToken value in the response. You can retrieve the next batch of objects by requesting the list again and providing the token that was returned by the prior call in your request.
You can indicate the maximum number of objects that you want Shield Advanced to return for a single call with the MaxResults setting. Shield Advanced will not return more than MaxResults objects, but may return fewer, even if more objects are still available.
Whenever more objects remain that Shield Advanced has not yet returned to you, the response will include a NextToken value.
Implementations§
source§impl ListProtectionGroupsOutput
impl ListProtectionGroupsOutput
sourcepub fn protection_groups(&self) -> &[ProtectionGroup]
pub fn protection_groups(&self) -> &[ProtectionGroup]
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
When you request a list of objects from Shield Advanced, if the response does not include all of the remaining available objects, Shield Advanced includes a NextToken value in the response. You can retrieve the next batch of objects by requesting the list again and providing the token that was returned by the prior call in your request.
You can indicate the maximum number of objects that you want Shield Advanced to return for a single call with the MaxResults setting. Shield Advanced will not return more than MaxResults objects, but may return fewer, even if more objects are still available.
Whenever more objects remain that Shield Advanced has not yet returned to you, the response will include a NextToken value.
source§impl ListProtectionGroupsOutput
impl ListProtectionGroupsOutput
sourcepub fn builder() -> ListProtectionGroupsOutputBuilder
pub fn builder() -> ListProtectionGroupsOutputBuilder
Creates a new builder-style object to manufacture ListProtectionGroupsOutput.
Trait Implementations§
source§impl Clone for ListProtectionGroupsOutput
impl Clone for ListProtectionGroupsOutput
source§fn clone(&self) -> ListProtectionGroupsOutput
fn clone(&self) -> ListProtectionGroupsOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ListProtectionGroupsOutput
impl Debug for ListProtectionGroupsOutput
source§impl PartialEq for ListProtectionGroupsOutput
impl PartialEq for ListProtectionGroupsOutput
source§fn eq(&self, other: &ListProtectionGroupsOutput) -> bool
fn eq(&self, other: &ListProtectionGroupsOutput) -> bool
self and other values to be equal, and is used
by ==.source§impl RequestId for ListProtectionGroupsOutput
impl RequestId for ListProtectionGroupsOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.impl StructuralPartialEq for ListProtectionGroupsOutput
Auto Trait Implementations§
impl Freeze for ListProtectionGroupsOutput
impl RefUnwindSafe for ListProtectionGroupsOutput
impl Send for ListProtectionGroupsOutput
impl Sync for ListProtectionGroupsOutput
impl Unpin for ListProtectionGroupsOutput
impl UnwindSafe for ListProtectionGroupsOutput
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