#[non_exhaustive]pub struct ListResourcesOutput {
pub resources: Option<Vec<Resource>>,
pub next_token: Option<String>,
/* private fields */
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.resources: Option<Vec<Resource>>
One page of the organization's resource representation.
next_token: Option<String>
The token used to paginate through all the organization's resources. While results are still available, it has an associated value. When the last page is reached, the token is empty.
Implementations§
source§impl ListResourcesOutput
impl ListResourcesOutput
sourcepub fn resources(&self) -> &[Resource]
pub fn resources(&self) -> &[Resource]
One page of the organization's resource representation.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .resources.is_none()
.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
The token used to paginate through all the organization's resources. While results are still available, it has an associated value. When the last page is reached, the token is empty.
source§impl ListResourcesOutput
impl ListResourcesOutput
sourcepub fn builder() -> ListResourcesOutputBuilder
pub fn builder() -> ListResourcesOutputBuilder
Creates a new builder-style object to manufacture ListResourcesOutput
.
Trait Implementations§
source§impl Clone for ListResourcesOutput
impl Clone for ListResourcesOutput
source§fn clone(&self) -> ListResourcesOutput
fn clone(&self) -> ListResourcesOutput
Returns a copy 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 ListResourcesOutput
impl Debug for ListResourcesOutput
source§impl PartialEq for ListResourcesOutput
impl PartialEq for ListResourcesOutput
source§fn eq(&self, other: &ListResourcesOutput) -> bool
fn eq(&self, other: &ListResourcesOutput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for ListResourcesOutput
impl RequestId for ListResourcesOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
Returns the request ID, or
None
if the service could not be reached.impl StructuralPartialEq for ListResourcesOutput
Auto Trait Implementations§
impl Freeze for ListResourcesOutput
impl RefUnwindSafe for ListResourcesOutput
impl Send for ListResourcesOutput
impl Sync for ListResourcesOutput
impl Unpin for ListResourcesOutput
impl UnwindSafe for ListResourcesOutput
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
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.