pub struct Period {
pub id: String,
pub start_seconds: Option<f64>,
pub duration_seconds: Option<f64>,
pub representations: Vec<Representation>,
pub event_streams: Vec<EventStream>,
}Expand description
One contiguous period of content within a presentation.
Fields§
§id: StringPeriod id (unique within the MPD).
start_seconds: Option<f64>Start offset from the period origin in seconds (Period@start).
duration_seconds: Option<f64>Period duration in seconds when known (Period@duration).
representations: Vec<Representation>Representations grouped into AdaptationSets by media kind at render time.
event_streams: Vec<EventStream>Period-level event streams (SCTE-35, …).
Implementations§
Trait Implementations§
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