Struct dash_mpd::Period [−][src]
pub struct Period {
pub id: Option<String>,
pub start: Option<String>,
pub duration: Option<Duration>,
pub bitstreamSwitching: Option<bool>,
pub BaseURL: Option<BaseURL>,
pub href: Option<String>,
pub actuate: Option<String>,
pub SegmentTemplate: Option<SegmentTemplate>,
pub adaptations: Option<Vec<AdaptationSet>>,
}
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>
duration: Option<Duration>
bitstreamSwitching: Option<bool>
BaseURL: Option<BaseURL>
href: Option<String>
A “remote resource”, following the XML Linking Language (XLink) specification.
actuate: Option<String>
SegmentTemplate: Option<SegmentTemplate>
adaptations: Option<Vec<AdaptationSet>>
Trait Implementations
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 UnwindSafe for Period
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more