#[non_exhaustive]pub struct Representation {
pub id: String,
pub bandwidth: u64,
pub quality_ranking: Option<u32>,
pub dependency_ids: Vec<String>,
pub common: CommonAttributes,
pub base_urls: Vec<BaseUrl>,
pub segment: SegmentLayer,
pub content_protections: Vec<Descriptor>,
pub essential_properties: Vec<Descriptor>,
pub supplemental_properties: Vec<Descriptor>,
pub audio_channel_configurations: Vec<Descriptor>,
}Expand description
A Representation (5.3.5).
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.id: String@id.
bandwidth: u64@bandwidth, bits per second.
quality_ranking: Option<u32>@qualityRanking.
dependency_ids: Vec<String>@dependencyId (whitespace-separated Representation ids).
common: CommonAttributesCommon attributes (not yet merged with the AdaptationSet’s).
base_urls: Vec<BaseUrl>BaseURL alternates.
segment: SegmentLayerSegment information declared here.
content_protections: Vec<Descriptor>ContentProtection.
essential_properties: Vec<Descriptor>EssentialProperty.
supplemental_properties: Vec<Descriptor>SupplementalProperty.
audio_channel_configurations: Vec<Descriptor>AudioChannelConfiguration.
Trait Implementations§
Source§impl Clone for Representation
impl Clone for Representation
Source§impl Debug for Representation
impl Debug for Representation
Source§impl Default for Representation
impl Default for Representation
Source§impl PartialEq for Representation
impl PartialEq for Representation
impl StructuralPartialEq for Representation
Auto Trait Implementations§
impl Forget for Representation
impl Freeze for Representation
impl RefUnwindSafe for Representation
impl Send for Representation
impl Sync for Representation
impl Unpin for Representation
impl UnsafeUnpin for Representation
impl UnwindSafe for Representation
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