#[non_exhaustive]pub struct EncryptionMethodBuilder { /* private fields */ }Expand description
A builder for EncryptionMethod.
Implementations§
source§impl EncryptionMethodBuilder
impl EncryptionMethodBuilder
sourcepub fn ts_encryption_method(self, input: TsEncryptionMethod) -> Self
pub fn ts_encryption_method(self, input: TsEncryptionMethod) -> Self
The encryption method to use.
sourcepub fn set_ts_encryption_method(self, input: Option<TsEncryptionMethod>) -> Self
pub fn set_ts_encryption_method(self, input: Option<TsEncryptionMethod>) -> Self
The encryption method to use.
sourcepub fn get_ts_encryption_method(&self) -> &Option<TsEncryptionMethod>
pub fn get_ts_encryption_method(&self) -> &Option<TsEncryptionMethod>
The encryption method to use.
sourcepub fn cmaf_encryption_method(self, input: CmafEncryptionMethod) -> Self
pub fn cmaf_encryption_method(self, input: CmafEncryptionMethod) -> Self
The encryption method to use.
sourcepub fn set_cmaf_encryption_method(
self,
input: Option<CmafEncryptionMethod>
) -> Self
pub fn set_cmaf_encryption_method( self, input: Option<CmafEncryptionMethod> ) -> Self
The encryption method to use.
sourcepub fn get_cmaf_encryption_method(&self) -> &Option<CmafEncryptionMethod>
pub fn get_cmaf_encryption_method(&self) -> &Option<CmafEncryptionMethod>
The encryption method to use.
sourcepub fn build(self) -> EncryptionMethod
pub fn build(self) -> EncryptionMethod
Consumes the builder and constructs a EncryptionMethod.
Trait Implementations§
source§impl Clone for EncryptionMethodBuilder
impl Clone for EncryptionMethodBuilder
source§fn clone(&self) -> EncryptionMethodBuilder
fn clone(&self) -> EncryptionMethodBuilder
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 EncryptionMethodBuilder
impl Debug for EncryptionMethodBuilder
source§impl Default for EncryptionMethodBuilder
impl Default for EncryptionMethodBuilder
source§fn default() -> EncryptionMethodBuilder
fn default() -> EncryptionMethodBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for EncryptionMethodBuilder
impl PartialEq for EncryptionMethodBuilder
source§fn eq(&self, other: &EncryptionMethodBuilder) -> bool
fn eq(&self, other: &EncryptionMethodBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for EncryptionMethodBuilder
Auto Trait Implementations§
impl Freeze for EncryptionMethodBuilder
impl RefUnwindSafe for EncryptionMethodBuilder
impl Send for EncryptionMethodBuilder
impl Sync for EncryptionMethodBuilder
impl Unpin for EncryptionMethodBuilder
impl UnwindSafe for EncryptionMethodBuilder
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>
Creates a shared type from an unshared type.