pub struct ContentTypeProfileConfig {
pub content_type_profiles: Option<ContentTypeProfiles>,
pub forward_when_content_type_is_unknown: bool,
}
Expand description
The configuration for a field-level encryption content type-profile mapping.
Fields§
§content_type_profiles: Option<ContentTypeProfiles>
The configuration for a field-level encryption content type-profile.
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.
Trait Implementations§
Source§impl Clone for ContentTypeProfileConfig
impl Clone for ContentTypeProfileConfig
Source§fn clone(&self) -> ContentTypeProfileConfig
fn clone(&self) -> ContentTypeProfileConfig
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 Debug for ContentTypeProfileConfig
impl Debug for ContentTypeProfileConfig
Source§impl Default for ContentTypeProfileConfig
impl Default for ContentTypeProfileConfig
Source§fn default() -> ContentTypeProfileConfig
fn default() -> ContentTypeProfileConfig
Returns the “default value” for a type. Read more
Source§impl PartialEq for ContentTypeProfileConfig
impl PartialEq for ContentTypeProfileConfig
impl StructuralPartialEq for ContentTypeProfileConfig
Auto Trait Implementations§
impl Freeze for ContentTypeProfileConfig
impl RefUnwindSafe for ContentTypeProfileConfig
impl Send for ContentTypeProfileConfig
impl Sync for ContentTypeProfileConfig
impl Unpin for ContentTypeProfileConfig
impl UnwindSafe for ContentTypeProfileConfig
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