pub struct Period {Show 13 fields
pub id: Option<String>,
pub start: Option<Duration>,
pub duration: Option<Duration>,
pub bitstreamSwitching: Option<bool>,
pub BaseURL: Vec<BaseURL>,
pub href: Option<String>,
pub actuate: Option<String>,
pub SegmentTemplate: Option<SegmentTemplate>,
pub adaptations: Vec<AdaptationSet>,
pub asset_identifier: Option<AssetIdentifier>,
pub event_streams: Vec<EventStream>,
pub supplemental_property: Vec<SupplementalProperty>,
pub essential_property: Vec<EssentialProperty>,
}
Expand description
Describes a chunk of the content with a start time and a duration. Content can be split up into multiple periods (such as chapters, advertising segments).
Fields§
§id: Option<String>
§start: Option<Duration>
The start time of the Period relative to the MPD availability start time.
duration: Option<Duration>
§bitstreamSwitching: Option<bool>
§BaseURL: Vec<BaseURL>
§href: Option<String>
A “remote resource”, following the XML Linking Language (XLink) specification.
actuate: Option<String>
§SegmentTemplate: Option<SegmentTemplate>
§adaptations: Vec<AdaptationSet>
§asset_identifier: Option<AssetIdentifier>
§event_streams: Vec<EventStream>
§supplemental_property: Vec<SupplementalProperty>
§essential_property: Vec<EssentialProperty>
Trait Implementations§
source§impl<'de> Deserialize<'de> for Periodwhere
Period: Default,
impl<'de> Deserialize<'de> for Periodwhere Period: Default,
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for Period
impl Send for Period
impl Sync for Period
impl Unpin 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