#[non_exhaustive]pub struct Mpd {Show 20 fields
pub id: Option<String>,
pub profiles: Vec<String>,
pub kind: PresentationType,
pub availability_start_time_us: Option<i64>,
pub availability_end_time_us: Option<i64>,
pub publish_time_us: Option<i64>,
pub media_presentation_duration: Option<Duration>,
pub minimum_update_period: Option<Duration>,
pub min_buffer_time: Option<Duration>,
pub time_shift_buffer_depth: Option<Duration>,
pub suggested_presentation_delay: Option<Duration>,
pub max_segment_duration: Option<Duration>,
pub max_subsegment_duration: Option<Duration>,
pub base_urls: Vec<BaseUrl>,
pub locations: Vec<String>,
pub utc_timings: Vec<UtcTiming>,
pub essential_properties: Vec<Descriptor>,
pub supplemental_properties: Vec<Descriptor>,
pub periods: Vec<Period>,
pub features: MpdFeatures,
}Expand description
An MPD (5.3.1).
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.
profiles: Vec<String>@profiles, split on ,.
kind: PresentationType@type.
availability_start_time_us: Option<i64>@availabilityStartTime, Unix microseconds.
availability_end_time_us: Option<i64>@availabilityEndTime, Unix microseconds.
publish_time_us: Option<i64>@publishTime, Unix microseconds.
media_presentation_duration: Option<Duration>@mediaPresentationDuration.
minimum_update_period: Option<Duration>@minimumUpdatePeriod.
min_buffer_time: Option<Duration>@minBufferTime.
time_shift_buffer_depth: Option<Duration>@timeShiftBufferDepth.
suggested_presentation_delay: Option<Duration>@suggestedPresentationDelay.
max_segment_duration: Option<Duration>@maxSegmentDuration.
max_subsegment_duration: Option<Duration>@maxSubsegmentDuration.
base_urls: Vec<BaseUrl>BaseURL alternates.
locations: Vec<String>Location texts.
utc_timings: Vec<UtcTiming>UTCTiming elements in document order (alternatives, in preference
order).
essential_properties: Vec<Descriptor>EssentialProperty.
supplemental_properties: Vec<Descriptor>SupplementalProperty.
periods: Vec<Period>The Periods.
features: MpdFeaturesConstructs seen but not acted on.
Implementations§
Trait Implementations§
impl StructuralPartialEq for Mpd
Auto Trait Implementations§
impl Freeze for Mpd
impl RefUnwindSafe for Mpd
impl Send for Mpd
impl Sync for Mpd
impl Unpin for Mpd
impl UnsafeUnpin for Mpd
impl UnwindSafe for Mpd
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