#[non_exhaustive]pub struct UpdateCryptoKeyPrimaryVersionRequest {
pub name: String,
pub crypto_key_version_id: String,
/* private fields */
}Expand description
Request message for KeyManagementService.UpdateCryptoKeyPrimaryVersion.
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.name: StringRequired. The resource name of the CryptoKey to update.
crypto_key_version_id: StringRequired. The id of the child CryptoKeyVersion to use as primary.
Implementations§
Trait Implementations§
Source§impl Clone for UpdateCryptoKeyPrimaryVersionRequest
impl Clone for UpdateCryptoKeyPrimaryVersionRequest
Source§fn clone(&self) -> UpdateCryptoKeyPrimaryVersionRequest
fn clone(&self) -> UpdateCryptoKeyPrimaryVersionRequest
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 UpdateCryptoKeyPrimaryVersionRequest
impl Default for UpdateCryptoKeyPrimaryVersionRequest
Source§fn default() -> UpdateCryptoKeyPrimaryVersionRequest
fn default() -> UpdateCryptoKeyPrimaryVersionRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for UpdateCryptoKeyPrimaryVersionRequest
impl PartialEq for UpdateCryptoKeyPrimaryVersionRequest
Source§fn eq(&self, other: &UpdateCryptoKeyPrimaryVersionRequest) -> bool
fn eq(&self, other: &UpdateCryptoKeyPrimaryVersionRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UpdateCryptoKeyPrimaryVersionRequest
Auto Trait Implementations§
impl Freeze for UpdateCryptoKeyPrimaryVersionRequest
impl RefUnwindSafe for UpdateCryptoKeyPrimaryVersionRequest
impl Send for UpdateCryptoKeyPrimaryVersionRequest
impl Sync for UpdateCryptoKeyPrimaryVersionRequest
impl Unpin for UpdateCryptoKeyPrimaryVersionRequest
impl UnwindSafe for UpdateCryptoKeyPrimaryVersionRequest
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