pub struct EncryptionKeyRevocationAction(/* private fields */);Expand description
Specifies behavior if an encryption key used by a resource is revoked.
Implementations§
Source§impl EncryptionKeyRevocationAction
impl EncryptionKeyRevocationAction
Sourcepub const ENCRYPTION_KEY_REVOCATION_ACTION_UNSPECIFIED: EncryptionKeyRevocationAction
pub const ENCRYPTION_KEY_REVOCATION_ACTION_UNSPECIFIED: EncryptionKeyRevocationAction
Unspecified
Sourcepub const PREVENT_NEW: EncryptionKeyRevocationAction
pub const PREVENT_NEW: EncryptionKeyRevocationAction
Prevents the creation of new instances.
Sourcepub const SHUTDOWN: EncryptionKeyRevocationAction
pub const SHUTDOWN: EncryptionKeyRevocationAction
Shuts down existing instances, and prevents creation of new ones.
Sourcepub fn as_str_name(&self) -> Cow<'static, str>
pub fn as_str_name(&self) -> Cow<'static, str>
Gets the enum value as a string.
Sourcepub fn from_str_name(name: &str) -> Option<Self>
pub fn from_str_name(name: &str) -> Option<Self>
Creates an enum value from the value name.
Trait Implementations§
Source§impl Clone for EncryptionKeyRevocationAction
impl Clone for EncryptionKeyRevocationAction
Source§fn clone(&self) -> EncryptionKeyRevocationAction
fn clone(&self) -> EncryptionKeyRevocationAction
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<'de> Deserialize<'de> for EncryptionKeyRevocationAction
impl<'de> Deserialize<'de> for EncryptionKeyRevocationAction
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<i32> for EncryptionKeyRevocationAction
impl From<i32> for EncryptionKeyRevocationAction
Source§impl PartialEq for EncryptionKeyRevocationAction
impl PartialEq for EncryptionKeyRevocationAction
Source§fn eq(&self, other: &EncryptionKeyRevocationAction) -> bool
fn eq(&self, other: &EncryptionKeyRevocationAction) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for EncryptionKeyRevocationAction
Auto Trait Implementations§
impl Freeze for EncryptionKeyRevocationAction
impl RefUnwindSafe for EncryptionKeyRevocationAction
impl Send for EncryptionKeyRevocationAction
impl Sync for EncryptionKeyRevocationAction
impl Unpin for EncryptionKeyRevocationAction
impl UnwindSafe for EncryptionKeyRevocationAction
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