Struct aws_sdk_ram::operation::list_resources::ListResourcesOutput
source · #[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
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.resources: Option<Vec<Resource>>An array of objects that contain information about the resources.
next_token: Option<String>If present, this value indicates that more output is available than is included in the current response. Use this value in the NextToken request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the NextToken response element comes back as null. This indicates that this is the last page of results.
Implementations§
source§impl ListResourcesOutput
impl ListResourcesOutput
sourcepub fn resources(&self) -> &[Resource]
pub fn resources(&self) -> &[Resource]
An array of objects that contain information about the resources.
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>
If present, this value indicates that more output is available than is included in the current response. Use this value in the NextToken request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the NextToken response element comes back as null. This indicates that this is the last page of results.
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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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
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>
None if the service could not be reached.