Struct aws_sdk_account::operation::list_regions::ListRegionsOutput
source · #[non_exhaustive]pub struct ListRegionsOutput {
pub next_token: Option<String>,
pub regions: Option<Vec<Region>>,
/* 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_token: Option<String>
If there is more data to be returned, this will be populated. It should be passed into the next-token
request parameter of list-regions
.
regions: Option<Vec<Region>>
This is a list of Regions for a given account, or if the filtered parameter was used, a list of Regions that match the filter criteria set in the filter
parameter.
Implementations§
source§impl ListRegionsOutput
impl ListRegionsOutput
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
If there is more data to be returned, this will be populated. It should be passed into the next-token
request parameter of list-regions
.
sourcepub fn regions(&self) -> &[Region]
pub fn regions(&self) -> &[Region]
This is a list of Regions for a given account, or if the filtered parameter was used, a list of Regions that match the filter criteria set in the filter
parameter.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .regions.is_none()
.
source§impl ListRegionsOutput
impl ListRegionsOutput
sourcepub fn builder() -> ListRegionsOutputBuilder
pub fn builder() -> ListRegionsOutputBuilder
Creates a new builder-style object to manufacture ListRegionsOutput
.
Trait Implementations§
source§impl Clone for ListRegionsOutput
impl Clone for ListRegionsOutput
source§fn clone(&self) -> ListRegionsOutput
fn clone(&self) -> ListRegionsOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListRegionsOutput
impl Debug for ListRegionsOutput
source§impl PartialEq for ListRegionsOutput
impl PartialEq for ListRegionsOutput
source§fn eq(&self, other: &ListRegionsOutput) -> bool
fn eq(&self, other: &ListRegionsOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for ListRegionsOutput
impl RequestId for ListRegionsOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for ListRegionsOutput
Auto Trait Implementations§
impl Freeze for ListRegionsOutput
impl RefUnwindSafe for ListRegionsOutput
impl Send for ListRegionsOutput
impl Sync for ListRegionsOutput
impl Unpin for ListRegionsOutput
impl UnwindSafe for ListRegionsOutput
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