#[non_exhaustive]pub struct ListProtectedResourcesOutput {
pub results: Option<Vec<ProtectedResource>>,
pub next_token: Option<String>,
}
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
sourceimpl ListProtectedResourcesOutput
impl ListProtectedResourcesOutput
sourcepub fn results(&self) -> Option<&[ProtectedResource]>
pub fn results(&self) -> Option<&[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.
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.
sourceimpl ListProtectedResourcesOutput
impl ListProtectedResourcesOutput
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ListProtectedResourcesOutput
Trait Implementations
sourceimpl Clone for ListProtectedResourcesOutput
impl Clone for ListProtectedResourcesOutput
sourcefn clone(&self) -> ListProtectedResourcesOutput
fn clone(&self) -> ListProtectedResourcesOutput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ListProtectedResourcesOutput
impl Debug for ListProtectedResourcesOutput
sourceimpl PartialEq<ListProtectedResourcesOutput> for ListProtectedResourcesOutput
impl PartialEq<ListProtectedResourcesOutput> for ListProtectedResourcesOutput
sourcefn eq(&self, other: &ListProtectedResourcesOutput) -> bool
fn eq(&self, other: &ListProtectedResourcesOutput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ListProtectedResourcesOutput) -> bool
fn ne(&self, other: &ListProtectedResourcesOutput) -> bool
This method tests for !=
.
impl StructuralPartialEq for ListProtectedResourcesOutput
Auto Trait Implementations
impl RefUnwindSafe for ListProtectedResourcesOutput
impl Send for ListProtectedResourcesOutput
impl Sync for ListProtectedResourcesOutput
impl Unpin for ListProtectedResourcesOutput
impl UnwindSafe for ListProtectedResourcesOutput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more