pub struct Label {
pub id: Option<String>,
pub lang: Option<String>,
pub content: String,
}
Expand description
Provides a textual description of the content, which can be used by the client to allow selection of the desired media stream.
Fields§
§id: Option<String>
§lang: Option<String>
§content: String
Trait Implementations§
source§impl<'de> Deserialize<'de> for Labelwhere
Label: Default,
impl<'de> Deserialize<'de> for Labelwhere Label: 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<Label> for Label
impl PartialEq<Label> for Label
impl StructuralPartialEq for Label
Auto Trait Implementations§
impl RefUnwindSafe for Label
impl Send for Label
impl Sync for Label
impl Unpin for Label
impl UnwindSafe for Label
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