#[non_exhaustive]pub struct CreateBackupPlanInput {
pub backup_plan: Option<BackupPlanInput>,
pub backup_plan_tags: Option<HashMap<String, String>>,
pub creator_request_id: 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.backup_plan: Option<BackupPlanInput>
The body of a backup plan. Includes a BackupPlanName
and one or more sets of Rules
.
The tags to assign to the backup plan.
creator_request_id: Option<String>
Identifies the request and allows failed requests to be retried without the risk of running the operation twice. If the request includes a CreatorRequestId
that matches an existing backup plan, that plan is returned. This parameter is optional.
If used, this parameter must contain 1 to 50 alphanumeric or '-_.' characters.
Implementations§
source§impl CreateBackupPlanInput
impl CreateBackupPlanInput
sourcepub fn backup_plan(&self) -> Option<&BackupPlanInput>
pub fn backup_plan(&self) -> Option<&BackupPlanInput>
The body of a backup plan. Includes a BackupPlanName
and one or more sets of Rules
.
The tags to assign to the backup plan.
sourcepub fn creator_request_id(&self) -> Option<&str>
pub fn creator_request_id(&self) -> Option<&str>
Identifies the request and allows failed requests to be retried without the risk of running the operation twice. If the request includes a CreatorRequestId
that matches an existing backup plan, that plan is returned. This parameter is optional.
If used, this parameter must contain 1 to 50 alphanumeric or '-_.' characters.
source§impl CreateBackupPlanInput
impl CreateBackupPlanInput
sourcepub fn builder() -> CreateBackupPlanInputBuilder
pub fn builder() -> CreateBackupPlanInputBuilder
Creates a new builder-style object to manufacture CreateBackupPlanInput
.
Trait Implementations§
source§impl Clone for CreateBackupPlanInput
impl Clone for CreateBackupPlanInput
source§fn clone(&self) -> CreateBackupPlanInput
fn clone(&self) -> CreateBackupPlanInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateBackupPlanInput
impl Debug for CreateBackupPlanInput
source§impl PartialEq for CreateBackupPlanInput
impl PartialEq for CreateBackupPlanInput
impl StructuralPartialEq for CreateBackupPlanInput
Auto Trait Implementations§
impl Freeze for CreateBackupPlanInput
impl RefUnwindSafe for CreateBackupPlanInput
impl Send for CreateBackupPlanInput
impl Sync for CreateBackupPlanInput
impl Unpin for CreateBackupPlanInput
impl UnwindSafe for CreateBackupPlanInput
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
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