#[non_exhaustive]pub struct WebvttHlsSourceSettingsBuilder { /* private fields */ }
Expand description
A builder for WebvttHlsSourceSettings
.
Implementations§
source§impl WebvttHlsSourceSettingsBuilder
impl WebvttHlsSourceSettingsBuilder
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) -> WebvttHlsSourceSettings
pub fn build(self) -> WebvttHlsSourceSettings
Consumes the builder and constructs a WebvttHlsSourceSettings
.
Trait Implementations§
source§impl Clone for WebvttHlsSourceSettingsBuilder
impl Clone for WebvttHlsSourceSettingsBuilder
source§fn clone(&self) -> WebvttHlsSourceSettingsBuilder
fn clone(&self) -> WebvttHlsSourceSettingsBuilder
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 WebvttHlsSourceSettingsBuilder
impl Default for WebvttHlsSourceSettingsBuilder
source§fn default() -> WebvttHlsSourceSettingsBuilder
fn default() -> WebvttHlsSourceSettingsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for WebvttHlsSourceSettingsBuilder
impl PartialEq for WebvttHlsSourceSettingsBuilder
source§fn eq(&self, other: &WebvttHlsSourceSettingsBuilder) -> bool
fn eq(&self, other: &WebvttHlsSourceSettingsBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for WebvttHlsSourceSettingsBuilder
Auto Trait Implementations§
impl Freeze for WebvttHlsSourceSettingsBuilder
impl RefUnwindSafe for WebvttHlsSourceSettingsBuilder
impl Send for WebvttHlsSourceSettingsBuilder
impl Sync for WebvttHlsSourceSettingsBuilder
impl Unpin for WebvttHlsSourceSettingsBuilder
impl UnwindSafe for WebvttHlsSourceSettingsBuilder
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.