pub struct SetWorkspaceEncryptionKeyRequest {
pub new_key: String,
pub skip_reencrypt: Option<bool>,
}
Fields§
§new_key: String
§skip_reencrypt: Option<bool>
Implementations§
Source§impl SetWorkspaceEncryptionKeyRequest
impl SetWorkspaceEncryptionKeyRequest
pub fn new(new_key: String) -> SetWorkspaceEncryptionKeyRequest
Trait Implementations§
Source§impl Clone for SetWorkspaceEncryptionKeyRequest
impl Clone for SetWorkspaceEncryptionKeyRequest
Source§fn clone(&self) -> SetWorkspaceEncryptionKeyRequest
fn clone(&self) -> SetWorkspaceEncryptionKeyRequest
Returns a duplicate 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 Default for SetWorkspaceEncryptionKeyRequest
impl Default for SetWorkspaceEncryptionKeyRequest
Source§fn default() -> SetWorkspaceEncryptionKeyRequest
fn default() -> SetWorkspaceEncryptionKeyRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SetWorkspaceEncryptionKeyRequest
impl<'de> Deserialize<'de> for SetWorkspaceEncryptionKeyRequest
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 PartialEq for SetWorkspaceEncryptionKeyRequest
impl PartialEq for SetWorkspaceEncryptionKeyRequest
Source§fn eq(&self, other: &SetWorkspaceEncryptionKeyRequest) -> bool
fn eq(&self, other: &SetWorkspaceEncryptionKeyRequest) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for SetWorkspaceEncryptionKeyRequest
Auto Trait Implementations§
impl Freeze for SetWorkspaceEncryptionKeyRequest
impl RefUnwindSafe for SetWorkspaceEncryptionKeyRequest
impl Send for SetWorkspaceEncryptionKeyRequest
impl Sync for SetWorkspaceEncryptionKeyRequest
impl Unpin for SetWorkspaceEncryptionKeyRequest
impl UnwindSafe for SetWorkspaceEncryptionKeyRequest
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