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
sourceimpl<'de> Deserialize<'de> for Periodwhere
Period: Default,
impl<'de> Deserialize<'de> for Periodwhere
Period: Default,
sourcefn 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more