#[non_exhaustive]pub struct Period {Show 15 fields
pub id: Option<String>,
pub start: Option<Duration>,
pub duration: Option<Duration>,
pub bitstream_switching: bool,
pub xlink: Option<Xlink>,
pub base_urls: Vec<BaseUrl>,
pub segment: SegmentLayer,
pub asset_identifier: Option<Descriptor>,
pub event_streams: Vec<EventStream>,
pub imported_mpd: Option<ImportedMpd>,
pub essential_properties: Vec<Descriptor>,
pub supplemental_properties: Vec<Descriptor>,
pub adaptation_sets: Vec<AdaptationSet>,
pub preselections: Vec<Preselection>,
pub service_descriptions: Vec<ServiceDescription>,
}Expand description
A Period (5.3.2).
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<String>@id.
start: Option<Duration>@start.
duration: Option<Duration>@duration.
bitstream_switching: bool@bitstreamSwitching.
xlink: Option<Xlink>xlink reference.
base_urls: Vec<BaseUrl>BaseURL alternates.
segment: SegmentLayerSegment information declared here.
asset_identifier: Option<Descriptor>AssetIdentifier.
event_streams: Vec<EventStream>EventStream.
imported_mpd: Option<ImportedMpd>ImportedMPD (ISO/IEC 23009-1 ed.6 Table ImportedMpdType): the MPD a
@type="list" Period presents.
essential_properties: Vec<Descriptor>EssentialProperty.
supplemental_properties: Vec<Descriptor>SupplementalProperty.
adaptation_sets: Vec<AdaptationSet>The AdaptationSets.
preselections: Vec<Preselection>Preselection.
service_descriptions: Vec<ServiceDescription>ServiceDescription.
Trait Implementations§
impl StructuralPartialEq for Period
Auto Trait Implementations§
impl Forget for Period
impl Freeze for Period
impl Move for Period
impl RefUnwindSafe for Period
impl Send for Period
impl Sync for Period
impl Unpin for Period
impl UnsafeUnpin for Period
impl UnwindSafe for Period
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