pub struct Role {
pub schemeIdUri: Option<String>,
pub value: Option<String>,
}
Expand description
The purpose of this media stream, such as “caption”, “subtitle”, “main”, “alternate”, “supplementary”, “commentary”, and “dub” (this is the attribute scheme for @value when the schemeIdUri is “urn:mpeg:dash:role:2011”).
Fields§
§schemeIdUri: Option<String>
§value: Option<String>
Trait Implementations§
source§impl<'de> Deserialize<'de> for Rolewhere
Role: Default,
impl<'de> Deserialize<'de> for Rolewhere Role: Default,
source§fn 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
source§impl PartialEq<Role> for Role
impl PartialEq<Role> for Role
impl StructuralPartialEq for Role
Auto Trait Implementations§
impl RefUnwindSafe for Role
impl Send for Role
impl Sync for Role
impl Unpin for Role
impl UnwindSafe for Role
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