#[non_exhaustive]pub struct AdaptationSet {Show 20 fields
pub id: Option<u64>,
pub group: Option<u64>,
pub lang: Option<String>,
pub content_type: Option<String>,
pub par: Option<String>,
pub segment_alignment: bool,
pub start_with_sap: Option<u8>,
pub bitstream_switching: Option<bool>,
pub common: CommonAttributes,
pub xlink: Option<Xlink>,
pub roles: Vec<Descriptor>,
pub accessibilities: Vec<Descriptor>,
pub labels: Vec<String>,
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 representations: Vec<Representation>,
}Expand description
An AdaptationSet (5.3.3).
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: Option<u64>@id.
group: Option<u64>@group.
lang: Option<String>@lang.
content_type: Option<String>@contentType.
par: Option<String>@par.
segment_alignment: bool@segmentAlignment (true or a non-zero count).
start_with_sap: Option<u8>@startWithSAP.
bitstream_switching: Option<bool>@bitstreamSwitching.
common: CommonAttributesCommon attributes.
xlink: Option<Xlink>xlink reference; the element is then unresolved.
roles: Vec<Descriptor>Role descriptors.
accessibilities: Vec<Descriptor>Accessibility descriptors.
labels: Vec<String>Label texts.
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.
representations: Vec<Representation>The Representations.
Trait Implementations§
Source§impl Clone for AdaptationSet
impl Clone for AdaptationSet
Source§impl Debug for AdaptationSet
impl Debug for AdaptationSet
Source§impl Default for AdaptationSet
impl Default for AdaptationSet
Source§impl PartialEq for AdaptationSet
impl PartialEq for AdaptationSet
impl StructuralPartialEq for AdaptationSet
Auto Trait Implementations§
impl Freeze for AdaptationSet
impl RefUnwindSafe for AdaptationSet
impl Send for AdaptationSet
impl Sync for AdaptationSet
impl Unpin for AdaptationSet
impl UnsafeUnpin for AdaptationSet
impl UnwindSafe for AdaptationSet
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