pub struct WebvttHlsSourceSettings {
pub rendition_group_id: Option<String>,
pub rendition_language_code: Option<String>,
pub rendition_name: Option<String>,
}
Expand description
Settings specific to WebVTT sources in HLS alternative rendition group. Specify the properties (renditionGroupId, renditionName or renditionLanguageCode) to identify the unique subtitle track among the alternative rendition groups present in the HLS manifest. If no unique track is found, or multiple tracks match the specified properties, the job fails. If there is only one subtitle track in the rendition group, the settings can be left empty and the default subtitle track will be chosen. If your caption source is a sidecar file, use FileSourceSettings instead of WebvttHlsSourceSettings.
Fields
rendition_group_id: Option<String>
Optional. Specify alternative group ID
rendition_language_code: Option<String>
Optional. Specify ISO 639-2 or ISO 639-3 code in the language property
rendition_name: Option<String>
Optional. Specify media name
Trait Implementations
sourceimpl Clone for WebvttHlsSourceSettings
impl Clone for WebvttHlsSourceSettings
sourcefn clone(&self) -> WebvttHlsSourceSettings
fn clone(&self) -> WebvttHlsSourceSettings
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for WebvttHlsSourceSettings
impl Debug for WebvttHlsSourceSettings
sourceimpl Default for WebvttHlsSourceSettings
impl Default for WebvttHlsSourceSettings
sourcefn default() -> WebvttHlsSourceSettings
fn default() -> WebvttHlsSourceSettings
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for WebvttHlsSourceSettings
impl<'de> Deserialize<'de> for WebvttHlsSourceSettings
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<WebvttHlsSourceSettings> for WebvttHlsSourceSettings
impl PartialEq<WebvttHlsSourceSettings> for WebvttHlsSourceSettings
sourcefn eq(&self, other: &WebvttHlsSourceSettings) -> bool
fn eq(&self, other: &WebvttHlsSourceSettings) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &WebvttHlsSourceSettings) -> bool
fn ne(&self, other: &WebvttHlsSourceSettings) -> bool
This method tests for !=
.
sourceimpl Serialize for WebvttHlsSourceSettings
impl Serialize for WebvttHlsSourceSettings
impl StructuralPartialEq for WebvttHlsSourceSettings
Auto Trait Implementations
impl RefUnwindSafe for WebvttHlsSourceSettings
impl Send for WebvttHlsSourceSettings
impl Sync for WebvttHlsSourceSettings
impl Unpin for WebvttHlsSourceSettings
impl UnwindSafe for WebvttHlsSourceSettings
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more