#[non_exhaustive]pub struct Descriptor {
pub scheme_id_uri: String,
pub value: Option<String>,
pub id: Option<String>,
pub default_kid: Option<String>,
pub url_query: Option<UrlQueryInfo>,
}Expand description
A generic descriptor (5.8.2): Role, Accessibility,
EssentialProperty, SupplementalProperty, ContentProtection, …
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.scheme_id_uri: String@schemeIdUri.
value: Option<String>@value.
id: Option<String>@id.
default_kid: Option<String>@cenc:default_KID on ContentProtection.
url_query: Option<UrlQueryInfo>The UrlQueryInfo child of an urn:mpeg:dash:urlparam:2014 property.
Trait Implementations§
Source§impl Clone for Descriptor
impl Clone for Descriptor
Source§impl Debug for Descriptor
impl Debug for Descriptor
Source§impl Default for Descriptor
impl Default for Descriptor
impl Eq for Descriptor
Source§impl PartialEq for Descriptor
impl PartialEq for Descriptor
impl StructuralPartialEq for Descriptor
Auto Trait Implementations§
impl Freeze for Descriptor
impl RefUnwindSafe for Descriptor
impl Send for Descriptor
impl Sync for Descriptor
impl Unpin for Descriptor
impl UnsafeUnpin for Descriptor
impl UnwindSafe for Descriptor
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