Struct aws_sdk_backup::operation::list_recovery_points_by_resource::ListRecoveryPointsByResourceOutput
source · #[non_exhaustive]pub struct ListRecoveryPointsByResourceOutput {
pub next_token: Option<String>,
pub recovery_points: Option<Vec<RecoveryPointByResource>>,
/* 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.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.
recovery_points: Option<Vec<RecoveryPointByResource>>
An array of objects that contain detailed information about recovery points of the specified resource type.
Only Amazon EFS and Amazon EC2 recovery points return BackupVaultName.
Implementations§
source§impl ListRecoveryPointsByResourceOutput
impl ListRecoveryPointsByResourceOutput
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.
sourcepub fn recovery_points(&self) -> &[RecoveryPointByResource]
pub fn recovery_points(&self) -> &[RecoveryPointByResource]
An array of objects that contain detailed information about recovery points of the specified resource type.
Only Amazon EFS and Amazon EC2 recovery points return BackupVaultName.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .recovery_points.is_none()
.
source§impl ListRecoveryPointsByResourceOutput
impl ListRecoveryPointsByResourceOutput
sourcepub fn builder() -> ListRecoveryPointsByResourceOutputBuilder
pub fn builder() -> ListRecoveryPointsByResourceOutputBuilder
Creates a new builder-style object to manufacture ListRecoveryPointsByResourceOutput
.
Trait Implementations§
source§impl Clone for ListRecoveryPointsByResourceOutput
impl Clone for ListRecoveryPointsByResourceOutput
source§fn clone(&self) -> ListRecoveryPointsByResourceOutput
fn clone(&self) -> ListRecoveryPointsByResourceOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for ListRecoveryPointsByResourceOutput
impl PartialEq for ListRecoveryPointsByResourceOutput
source§fn eq(&self, other: &ListRecoveryPointsByResourceOutput) -> bool
fn eq(&self, other: &ListRecoveryPointsByResourceOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for ListRecoveryPointsByResourceOutput
impl RequestId for ListRecoveryPointsByResourceOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.