#[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.impl StructuralPartialEq for ListProtectedResourcesOutput
Auto Trait Implementations§
impl Freeze for ListProtectedResourcesOutput
impl RefUnwindSafe for ListProtectedResourcesOutput
impl Send for ListProtectedResourcesOutput
impl Sync for ListProtectedResourcesOutput
impl Unpin for ListProtectedResourcesOutput
impl UnwindSafe for ListProtectedResourcesOutput
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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