#[non_exhaustive]pub struct ContentTypeProfileConfig {
pub forward_when_content_type_is_unknown: bool,
pub content_type_profiles: Option<ContentTypeProfiles>,
}
Expand description
The configuration for a field-level encryption content type-profile mapping.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.forward_when_content_type_is_unknown: bool
The setting in a field-level encryption content type-profile mapping that specifies what to do when an unknown content type is provided for the profile. If true, content is forwarded without being encrypted when the content type is unknown. If false (the default), an error is returned when the content type is unknown.
content_type_profiles: Option<ContentTypeProfiles>
The configuration for a field-level encryption content type-profile.
Implementations§
source§impl ContentTypeProfileConfig
impl ContentTypeProfileConfig
sourcepub fn forward_when_content_type_is_unknown(&self) -> bool
pub fn forward_when_content_type_is_unknown(&self) -> bool
The setting in a field-level encryption content type-profile mapping that specifies what to do when an unknown content type is provided for the profile. If true, content is forwarded without being encrypted when the content type is unknown. If false (the default), an error is returned when the content type is unknown.
sourcepub fn content_type_profiles(&self) -> Option<&ContentTypeProfiles>
pub fn content_type_profiles(&self) -> Option<&ContentTypeProfiles>
The configuration for a field-level encryption content type-profile.
source§impl ContentTypeProfileConfig
impl ContentTypeProfileConfig
sourcepub fn builder() -> ContentTypeProfileConfigBuilder
pub fn builder() -> ContentTypeProfileConfigBuilder
Creates a new builder-style object to manufacture ContentTypeProfileConfig
.
Trait Implementations§
source§impl Clone for ContentTypeProfileConfig
impl Clone for ContentTypeProfileConfig
source§fn clone(&self) -> ContentTypeProfileConfig
fn clone(&self) -> ContentTypeProfileConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ContentTypeProfileConfig
impl Debug for ContentTypeProfileConfig
source§impl PartialEq for ContentTypeProfileConfig
impl PartialEq for ContentTypeProfileConfig
source§fn eq(&self, other: &ContentTypeProfileConfig) -> bool
fn eq(&self, other: &ContentTypeProfileConfig) -> bool
self
and other
values to be equal, and is used
by ==
.