#[non_exhaustive]pub struct ListResourcesOutput {
pub type_name: Option<String>,
pub resource_descriptions: Option<Vec<ResourceDescription>>,
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.type_name: Option<String>
The name of the resource type.
resource_descriptions: Option<Vec<ResourceDescription>>
Information about the specified resources, including primary identifier and resource model.
next_token: Option<String>
If the request doesn't return all of the remaining results, NextToken
is set to a token. To retrieve the next set of results, call ListResources
again and assign that token to the request object's NextToken
parameter. If the request returns all results, NextToken
is set to null.
Implementations§
source§impl ListResourcesOutput
impl ListResourcesOutput
sourcepub fn resource_descriptions(&self) -> &[ResourceDescription]
pub fn resource_descriptions(&self) -> &[ResourceDescription]
Information about the specified resources, including primary identifier and resource model.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .resource_descriptions.is_none()
.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
If the request doesn't return all of the remaining results, NextToken
is set to a token. To retrieve the next set of results, call ListResources
again and assign that token to the request object's NextToken
parameter. If the request returns all results, NextToken
is set to null.
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.