#[non_exhaustive]pub struct EncryptionContractConfigurationBuilder { /* private fields */ }
Expand description
A builder for EncryptionContractConfiguration
.
Implementations§
source§impl EncryptionContractConfigurationBuilder
impl EncryptionContractConfigurationBuilder
sourcepub fn preset_speke20_audio(self, input: PresetSpeke20Audio) -> Self
pub fn preset_speke20_audio(self, input: PresetSpeke20Audio) -> Self
A collection of audio encryption presets. This field is required.
sourcepub fn set_preset_speke20_audio(self, input: Option<PresetSpeke20Audio>) -> Self
pub fn set_preset_speke20_audio(self, input: Option<PresetSpeke20Audio>) -> Self
A collection of audio encryption presets.
sourcepub fn get_preset_speke20_audio(&self) -> &Option<PresetSpeke20Audio>
pub fn get_preset_speke20_audio(&self) -> &Option<PresetSpeke20Audio>
A collection of audio encryption presets.
sourcepub fn preset_speke20_video(self, input: PresetSpeke20Video) -> Self
pub fn preset_speke20_video(self, input: PresetSpeke20Video) -> Self
A collection of video encryption presets. This field is required.
sourcepub fn set_preset_speke20_video(self, input: Option<PresetSpeke20Video>) -> Self
pub fn set_preset_speke20_video(self, input: Option<PresetSpeke20Video>) -> Self
A collection of video encryption presets.
sourcepub fn get_preset_speke20_video(&self) -> &Option<PresetSpeke20Video>
pub fn get_preset_speke20_video(&self) -> &Option<PresetSpeke20Video>
A collection of video encryption presets.
sourcepub fn build(self) -> EncryptionContractConfiguration
pub fn build(self) -> EncryptionContractConfiguration
Consumes the builder and constructs a EncryptionContractConfiguration
.
Trait Implementations§
source§impl Clone for EncryptionContractConfigurationBuilder
impl Clone for EncryptionContractConfigurationBuilder
source§fn clone(&self) -> EncryptionContractConfigurationBuilder
fn clone(&self) -> EncryptionContractConfigurationBuilder
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 Default for EncryptionContractConfigurationBuilder
impl Default for EncryptionContractConfigurationBuilder
source§fn default() -> EncryptionContractConfigurationBuilder
fn default() -> EncryptionContractConfigurationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for EncryptionContractConfigurationBuilder
impl PartialEq for EncryptionContractConfigurationBuilder
source§fn eq(&self, other: &EncryptionContractConfigurationBuilder) -> bool
fn eq(&self, other: &EncryptionContractConfigurationBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EncryptionContractConfigurationBuilder
Auto Trait Implementations§
impl Freeze for EncryptionContractConfigurationBuilder
impl RefUnwindSafe for EncryptionContractConfigurationBuilder
impl Send for EncryptionContractConfigurationBuilder
impl Sync for EncryptionContractConfigurationBuilder
impl Unpin for EncryptionContractConfigurationBuilder
impl UnwindSafe for EncryptionContractConfigurationBuilder
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
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.