#[non_exhaustive]pub struct MsSmoothEncryptionSettingsBuilder { /* private fields */ }
Expand description
A builder for MsSmoothEncryptionSettings
.
Implementations§
source§impl MsSmoothEncryptionSettingsBuilder
impl MsSmoothEncryptionSettingsBuilder
sourcepub fn speke_key_provider(self, input: SpekeKeyProvider) -> Self
pub fn speke_key_provider(self, input: SpekeKeyProvider) -> Self
If your output group type is HLS, DASH, or Microsoft Smooth, use these settings when doing DRM encryption with a SPEKE-compliant key provider. If your output group type is CMAF, use the SpekeKeyProviderCmaf settings instead.
sourcepub fn set_speke_key_provider(self, input: Option<SpekeKeyProvider>) -> Self
pub fn set_speke_key_provider(self, input: Option<SpekeKeyProvider>) -> Self
If your output group type is HLS, DASH, or Microsoft Smooth, use these settings when doing DRM encryption with a SPEKE-compliant key provider. If your output group type is CMAF, use the SpekeKeyProviderCmaf settings instead.
sourcepub fn get_speke_key_provider(&self) -> &Option<SpekeKeyProvider>
pub fn get_speke_key_provider(&self) -> &Option<SpekeKeyProvider>
If your output group type is HLS, DASH, or Microsoft Smooth, use these settings when doing DRM encryption with a SPEKE-compliant key provider. If your output group type is CMAF, use the SpekeKeyProviderCmaf settings instead.
sourcepub fn build(self) -> MsSmoothEncryptionSettings
pub fn build(self) -> MsSmoothEncryptionSettings
Consumes the builder and constructs a MsSmoothEncryptionSettings
.
Trait Implementations§
source§impl Clone for MsSmoothEncryptionSettingsBuilder
impl Clone for MsSmoothEncryptionSettingsBuilder
source§fn clone(&self) -> MsSmoothEncryptionSettingsBuilder
fn clone(&self) -> MsSmoothEncryptionSettingsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for MsSmoothEncryptionSettingsBuilder
impl Default for MsSmoothEncryptionSettingsBuilder
source§fn default() -> MsSmoothEncryptionSettingsBuilder
fn default() -> MsSmoothEncryptionSettingsBuilder
source§impl PartialEq for MsSmoothEncryptionSettingsBuilder
impl PartialEq for MsSmoothEncryptionSettingsBuilder
source§fn eq(&self, other: &MsSmoothEncryptionSettingsBuilder) -> bool
fn eq(&self, other: &MsSmoothEncryptionSettingsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for MsSmoothEncryptionSettingsBuilder
Auto Trait Implementations§
impl Freeze for MsSmoothEncryptionSettingsBuilder
impl RefUnwindSafe for MsSmoothEncryptionSettingsBuilder
impl Send for MsSmoothEncryptionSettingsBuilder
impl Sync for MsSmoothEncryptionSettingsBuilder
impl Unpin for MsSmoothEncryptionSettingsBuilder
impl UnwindSafe for MsSmoothEncryptionSettingsBuilder
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