#[non_exhaustive]pub struct ListProtectedResourcesOutput {
pub results: Option<Vec<ProtectedResource>>,
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.results: Option<Vec<ProtectedResource>>
An array of resources successfully backed up by Backup including the time the resource was saved, an Amazon Resource Name (ARN) of the resource, and a resource type.
next_token: Option<String>
The next item following a partial list of returned items. For example, if a request is made to return MaxResults
number of items, NextToken
allows you to return more items in your list starting at the location pointed to by the next token.
Implementations§
source§impl ListProtectedResourcesOutput
impl ListProtectedResourcesOutput
sourcepub fn results(&self) -> &[ProtectedResource]
pub fn results(&self) -> &[ProtectedResource]
An array of resources successfully backed up by Backup including the time the resource was saved, an Amazon Resource Name (ARN) of the resource, and a resource type.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .results.is_none()
.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
The next item following a partial list of returned items. For example, if a request is made to return MaxResults
number of items, NextToken
allows you to return more items in your list starting at the location pointed to by the next token.
source§impl ListProtectedResourcesOutput
impl ListProtectedResourcesOutput
sourcepub fn builder() -> ListProtectedResourcesOutputBuilder
pub fn builder() -> ListProtectedResourcesOutputBuilder
Creates a new builder-style object to manufacture ListProtectedResourcesOutput
.
Trait Implementations§
source§impl Clone for ListProtectedResourcesOutput
impl Clone for ListProtectedResourcesOutput
source§fn clone(&self) -> ListProtectedResourcesOutput
fn clone(&self) -> ListProtectedResourcesOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListProtectedResourcesOutput
impl Debug for ListProtectedResourcesOutput
source§impl PartialEq for ListProtectedResourcesOutput
impl PartialEq for ListProtectedResourcesOutput
source§fn eq(&self, other: &ListProtectedResourcesOutput) -> bool
fn eq(&self, other: &ListProtectedResourcesOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for ListProtectedResourcesOutput
impl RequestId for ListProtectedResourcesOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.