#[non_exhaustive]pub struct EncryptionEntitiesBuilder { /* private fields */ }
Expand description
A builder for EncryptionEntities
.
Implementations§
source§impl EncryptionEntitiesBuilder
impl EncryptionEntitiesBuilder
sourcepub fn quantity(self, input: i32) -> Self
pub fn quantity(self, input: i32) -> Self
Number of field pattern items in a field-level encryption content type-profile mapping.
This field is required.sourcepub fn set_quantity(self, input: Option<i32>) -> Self
pub fn set_quantity(self, input: Option<i32>) -> Self
Number of field pattern items in a field-level encryption content type-profile mapping.
sourcepub fn get_quantity(&self) -> &Option<i32>
pub fn get_quantity(&self) -> &Option<i32>
Number of field pattern items in a field-level encryption content type-profile mapping.
sourcepub fn items(self, input: EncryptionEntity) -> Self
pub fn items(self, input: EncryptionEntity) -> Self
Appends an item to items
.
To override the contents of this collection use set_items
.
An array of field patterns in a field-level encryption content type-profile mapping.
sourcepub fn set_items(self, input: Option<Vec<EncryptionEntity>>) -> Self
pub fn set_items(self, input: Option<Vec<EncryptionEntity>>) -> Self
An array of field patterns in a field-level encryption content type-profile mapping.
sourcepub fn get_items(&self) -> &Option<Vec<EncryptionEntity>>
pub fn get_items(&self) -> &Option<Vec<EncryptionEntity>>
An array of field patterns in a field-level encryption content type-profile mapping.
sourcepub fn build(self) -> Result<EncryptionEntities, BuildError>
pub fn build(self) -> Result<EncryptionEntities, BuildError>
Consumes the builder and constructs a EncryptionEntities
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for EncryptionEntitiesBuilder
impl Clone for EncryptionEntitiesBuilder
source§fn clone(&self) -> EncryptionEntitiesBuilder
fn clone(&self) -> EncryptionEntitiesBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for EncryptionEntitiesBuilder
impl Debug for EncryptionEntitiesBuilder
source§impl Default for EncryptionEntitiesBuilder
impl Default for EncryptionEntitiesBuilder
source§fn default() -> EncryptionEntitiesBuilder
fn default() -> EncryptionEntitiesBuilder
source§impl PartialEq for EncryptionEntitiesBuilder
impl PartialEq for EncryptionEntitiesBuilder
source§fn eq(&self, other: &EncryptionEntitiesBuilder) -> bool
fn eq(&self, other: &EncryptionEntitiesBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EncryptionEntitiesBuilder
Auto Trait Implementations§
impl Freeze for EncryptionEntitiesBuilder
impl RefUnwindSafe for EncryptionEntitiesBuilder
impl Send for EncryptionEntitiesBuilder
impl Sync for EncryptionEntitiesBuilder
impl Unpin for EncryptionEntitiesBuilder
impl UnwindSafe for EncryptionEntitiesBuilder
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