pub struct ClosedCaption {
pub instream_id: String,
pub name: String,
pub language: Option<String>,
pub default: bool,
pub autoselect: bool,
}Expand description
One --closed_captions channel.
Fields§
§instream_id: String§name: String§language: Option<String>§default: bool§autoselect: boolImplementations§
Source§impl ClosedCaption
impl ClosedCaption
Sourcepub fn parse_list(spec: &str) -> Result<Vec<Self>>
pub fn parse_list(spec: &str) -> Result<Vec<Self>>
Parse Shaka --closed_captions (channel=CC1,name=English,lang=eng;…).
Trait Implementations§
Source§impl Clone for ClosedCaption
impl Clone for ClosedCaption
Source§fn clone(&self) -> ClosedCaption
fn clone(&self) -> ClosedCaption
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ClosedCaption
impl RefUnwindSafe for ClosedCaption
impl Send for ClosedCaption
impl Sync for ClosedCaption
impl Unpin for ClosedCaption
impl UnsafeUnpin for ClosedCaption
impl UnwindSafe for ClosedCaption
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