#[non_exhaustive]pub struct Representation {Show 14 fields
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>,
pub inband_event_streams: Vec<Descriptor>,
pub producer_reference_times: Vec<ProducerReferenceTime>,
pub resyncs: Vec<Resync>,
}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.
inband_event_streams: Vec<Descriptor>InbandEventStream.
producer_reference_times: Vec<ProducerReferenceTime>ProducerReferenceTime.
resyncs: Vec<Resync>Resync.
Trait Implementations§
Source§impl Clone for Representation
impl Clone for Representation
Source§fn clone(&self) -> Representation
fn clone(&self) -> Representation
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 moreSource§impl Debug for Representation
impl Debug for Representation
Source§impl Default for Representation
impl Default for Representation
Source§fn default() -> Representation
fn default() -> Representation
Returns the “default value” for a type. Read more
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 Move 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