#[non_exhaustive]pub struct HlsRenditionGroupSettingsBuilder { /* private fields */ }
Expand description
A builder for HlsRenditionGroupSettings
.
Implementations§
source§impl HlsRenditionGroupSettingsBuilder
impl HlsRenditionGroupSettingsBuilder
sourcepub fn rendition_group_id(self, input: impl Into<String>) -> Self
pub fn rendition_group_id(self, input: impl Into<String>) -> Self
Optional. Specify alternative group ID
sourcepub fn set_rendition_group_id(self, input: Option<String>) -> Self
pub fn set_rendition_group_id(self, input: Option<String>) -> Self
Optional. Specify alternative group ID
sourcepub fn get_rendition_group_id(&self) -> &Option<String>
pub fn get_rendition_group_id(&self) -> &Option<String>
Optional. Specify alternative group ID
sourcepub fn rendition_language_code(self, input: LanguageCode) -> Self
pub fn rendition_language_code(self, input: LanguageCode) -> Self
Optional. Specify ISO 639-2 or ISO 639-3 code in the language property
sourcepub fn set_rendition_language_code(self, input: Option<LanguageCode>) -> Self
pub fn set_rendition_language_code(self, input: Option<LanguageCode>) -> Self
Optional. Specify ISO 639-2 or ISO 639-3 code in the language property
sourcepub fn get_rendition_language_code(&self) -> &Option<LanguageCode>
pub fn get_rendition_language_code(&self) -> &Option<LanguageCode>
Optional. Specify ISO 639-2 or ISO 639-3 code in the language property
sourcepub fn rendition_name(self, input: impl Into<String>) -> Self
pub fn rendition_name(self, input: impl Into<String>) -> Self
Optional. Specify media name
sourcepub fn set_rendition_name(self, input: Option<String>) -> Self
pub fn set_rendition_name(self, input: Option<String>) -> Self
Optional. Specify media name
sourcepub fn get_rendition_name(&self) -> &Option<String>
pub fn get_rendition_name(&self) -> &Option<String>
Optional. Specify media name
sourcepub fn build(self) -> HlsRenditionGroupSettings
pub fn build(self) -> HlsRenditionGroupSettings
Consumes the builder and constructs a HlsRenditionGroupSettings
.
Trait Implementations§
source§impl Clone for HlsRenditionGroupSettingsBuilder
impl Clone for HlsRenditionGroupSettingsBuilder
source§fn clone(&self) -> HlsRenditionGroupSettingsBuilder
fn clone(&self) -> HlsRenditionGroupSettingsBuilder
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 HlsRenditionGroupSettingsBuilder
impl Default for HlsRenditionGroupSettingsBuilder
source§fn default() -> HlsRenditionGroupSettingsBuilder
fn default() -> HlsRenditionGroupSettingsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for HlsRenditionGroupSettingsBuilder
impl PartialEq for HlsRenditionGroupSettingsBuilder
source§fn eq(&self, other: &HlsRenditionGroupSettingsBuilder) -> bool
fn eq(&self, other: &HlsRenditionGroupSettingsBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for HlsRenditionGroupSettingsBuilder
Auto Trait Implementations§
impl Freeze for HlsRenditionGroupSettingsBuilder
impl RefUnwindSafe for HlsRenditionGroupSettingsBuilder
impl Send for HlsRenditionGroupSettingsBuilder
impl Sync for HlsRenditionGroupSettingsBuilder
impl Unpin for HlsRenditionGroupSettingsBuilder
impl UnwindSafe for HlsRenditionGroupSettingsBuilder
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.