#[non_exhaustive]pub struct FieldLevelEncryptionConfig {
pub caller_reference: String,
pub comment: Option<String>,
pub query_arg_profile_config: Option<QueryArgProfileConfig>,
pub content_type_profile_config: Option<ContentTypeProfileConfig>,
}
Expand description
A complex data type that includes the profile configurations specified for field-level encryption.
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.caller_reference: String
A unique number that ensures the request can't be replayed.
comment: Option<String>
An optional comment about the configuration. The comment cannot be longer than 128 characters.
query_arg_profile_config: Option<QueryArgProfileConfig>
A complex data type that specifies when to forward content if a profile isn't found and the profile that can be provided as a query argument in a request.
content_type_profile_config: Option<ContentTypeProfileConfig>
A complex data type that specifies when to forward content if a content type isn't recognized and profiles to use as by default in a request if a query argument doesn't specify a profile to use.
Implementations§
source§impl FieldLevelEncryptionConfig
impl FieldLevelEncryptionConfig
sourcepub fn caller_reference(&self) -> &str
pub fn caller_reference(&self) -> &str
A unique number that ensures the request can't be replayed.
sourcepub fn comment(&self) -> Option<&str>
pub fn comment(&self) -> Option<&str>
An optional comment about the configuration. The comment cannot be longer than 128 characters.
sourcepub fn query_arg_profile_config(&self) -> Option<&QueryArgProfileConfig>
pub fn query_arg_profile_config(&self) -> Option<&QueryArgProfileConfig>
A complex data type that specifies when to forward content if a profile isn't found and the profile that can be provided as a query argument in a request.
sourcepub fn content_type_profile_config(&self) -> Option<&ContentTypeProfileConfig>
pub fn content_type_profile_config(&self) -> Option<&ContentTypeProfileConfig>
A complex data type that specifies when to forward content if a content type isn't recognized and profiles to use as by default in a request if a query argument doesn't specify a profile to use.
source§impl FieldLevelEncryptionConfig
impl FieldLevelEncryptionConfig
sourcepub fn builder() -> FieldLevelEncryptionConfigBuilder
pub fn builder() -> FieldLevelEncryptionConfigBuilder
Creates a new builder-style object to manufacture FieldLevelEncryptionConfig
.
Trait Implementations§
source§impl Clone for FieldLevelEncryptionConfig
impl Clone for FieldLevelEncryptionConfig
source§fn clone(&self) -> FieldLevelEncryptionConfig
fn clone(&self) -> FieldLevelEncryptionConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for FieldLevelEncryptionConfig
impl Debug for FieldLevelEncryptionConfig
source§impl PartialEq for FieldLevelEncryptionConfig
impl PartialEq for FieldLevelEncryptionConfig
source§fn eq(&self, other: &FieldLevelEncryptionConfig) -> bool
fn eq(&self, other: &FieldLevelEncryptionConfig) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for FieldLevelEncryptionConfig
Auto Trait Implementations§
impl Freeze for FieldLevelEncryptionConfig
impl RefUnwindSafe for FieldLevelEncryptionConfig
impl Send for FieldLevelEncryptionConfig
impl Sync for FieldLevelEncryptionConfig
impl Unpin for FieldLevelEncryptionConfig
impl UnwindSafe for FieldLevelEncryptionConfig
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more