#[non_exhaustive]pub struct CreateEncryptionConfigRequest {
pub parent: String,
pub encryption_config_id: String,
pub encryption_config: Option<EncryptionConfig>,
/* private fields */
}Expand description
Create EncryptionConfig Request
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.parent: StringRequired. The location at which the EncryptionConfig is to be created.
encryption_config_id: StringRequired. The ID of the EncryptionConfig to create. Currently, only a value of “default” is supported.
encryption_config: Option<EncryptionConfig>Required. The EncryptionConfig to create.
Implementations§
Source§impl CreateEncryptionConfigRequest
impl CreateEncryptionConfigRequest
pub fn new() -> Self
Sourcepub fn set_parent<T: Into<String>>(self, v: T) -> Self
pub fn set_parent<T: Into<String>>(self, v: T) -> Self
Sets the value of parent.
Sourcepub fn set_encryption_config_id<T: Into<String>>(self, v: T) -> Self
pub fn set_encryption_config_id<T: Into<String>>(self, v: T) -> Self
Sets the value of encryption_config_id.
Sourcepub fn set_encryption_config<T>(self, v: T) -> Selfwhere
T: Into<EncryptionConfig>,
pub fn set_encryption_config<T>(self, v: T) -> Selfwhere
T: Into<EncryptionConfig>,
Sets the value of encryption_config.
Sourcepub fn set_or_clear_encryption_config<T>(self, v: Option<T>) -> Selfwhere
T: Into<EncryptionConfig>,
pub fn set_or_clear_encryption_config<T>(self, v: Option<T>) -> Selfwhere
T: Into<EncryptionConfig>,
Sets or clears the value of encryption_config.
Trait Implementations§
Source§impl Clone for CreateEncryptionConfigRequest
impl Clone for CreateEncryptionConfigRequest
Source§fn clone(&self) -> CreateEncryptionConfigRequest
fn clone(&self) -> CreateEncryptionConfigRequest
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 CreateEncryptionConfigRequest
impl Default for CreateEncryptionConfigRequest
Source§fn default() -> CreateEncryptionConfigRequest
fn default() -> CreateEncryptionConfigRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for CreateEncryptionConfigRequest
impl PartialEq for CreateEncryptionConfigRequest
Source§fn eq(&self, other: &CreateEncryptionConfigRequest) -> bool
fn eq(&self, other: &CreateEncryptionConfigRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CreateEncryptionConfigRequest
Auto Trait Implementations§
impl Freeze for CreateEncryptionConfigRequest
impl RefUnwindSafe for CreateEncryptionConfigRequest
impl Send for CreateEncryptionConfigRequest
impl Sync for CreateEncryptionConfigRequest
impl Unpin for CreateEncryptionConfigRequest
impl UnwindSafe for CreateEncryptionConfigRequest
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