pub struct Period {
pub id: Option<String>,
pub start: Option<String>,
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>,
}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<String>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>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