#[non_exhaustive]pub struct Period {
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 essential_properties: Vec<Descriptor>,
pub supplemental_properties: Vec<Descriptor>,
pub adaptation_sets: Vec<AdaptationSet>,
}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.
essential_properties: Vec<Descriptor>EssentialProperty.
supplemental_properties: Vec<Descriptor>SupplementalProperty.
adaptation_sets: Vec<AdaptationSet>The AdaptationSets.
Trait Implementations§
impl StructuralPartialEq for Period
Auto Trait Implementations§
impl Freeze 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