#[non_exhaustive]pub struct DeleteKeyInput {
pub key_identifier: Option<String>,
pub delete_key_in_days: Option<i32>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.key_identifier: Option<String>
The KeyARN
of the key that is scheduled for deletion.
delete_key_in_days: Option<i32>
The waiting period for key deletion. The default value is seven days.
Implementations§
source§impl DeleteKeyInput
impl DeleteKeyInput
sourcepub fn key_identifier(&self) -> Option<&str>
pub fn key_identifier(&self) -> Option<&str>
The KeyARN
of the key that is scheduled for deletion.
sourcepub fn delete_key_in_days(&self) -> Option<i32>
pub fn delete_key_in_days(&self) -> Option<i32>
The waiting period for key deletion. The default value is seven days.
source§impl DeleteKeyInput
impl DeleteKeyInput
sourcepub fn builder() -> DeleteKeyInputBuilder
pub fn builder() -> DeleteKeyInputBuilder
Creates a new builder-style object to manufacture DeleteKeyInput
.
Trait Implementations§
source§impl Clone for DeleteKeyInput
impl Clone for DeleteKeyInput
source§fn clone(&self) -> DeleteKeyInput
fn clone(&self) -> DeleteKeyInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for DeleteKeyInput
impl Debug for DeleteKeyInput
source§impl PartialEq for DeleteKeyInput
impl PartialEq for DeleteKeyInput
source§fn eq(&self, other: &DeleteKeyInput) -> bool
fn eq(&self, other: &DeleteKeyInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DeleteKeyInput
Auto Trait Implementations§
impl RefUnwindSafe for DeleteKeyInput
impl Send for DeleteKeyInput
impl Sync for DeleteKeyInput
impl Unpin for DeleteKeyInput
impl UnwindSafe for DeleteKeyInput
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
Mutably borrows from an owned value. Read more