Struct dash_mpd::SegmentList
source · [−]pub struct SegmentList {
pub duration: Option<u64>,
pub href: Option<String>,
pub actuate: Option<String>,
pub sltype: Option<String>,
pub show: Option<String>,
pub Initialization: Option<Initialization>,
pub segment_urls: Vec<SegmentURL>,
}Expand description
Contains a sequence of SegmentURL elements.
Fields
duration: Option<u64>href: Option<String>A “remote resource”, following the XML Linking Language (XLink) specification.
actuate: Option<String>sltype: Option<String>show: Option<String>Initialization: Option<Initialization>segment_urls: Vec<SegmentURL>Trait Implementations
sourceimpl Clone for SegmentList
impl Clone for SegmentList
sourcefn clone(&self) -> SegmentList
fn clone(&self) -> SegmentList
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for SegmentList
impl Debug for SegmentList
sourceimpl Default for SegmentList
impl Default for SegmentList
sourcefn default() -> SegmentList
fn default() -> SegmentList
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for SegmentListwhere
SegmentList: Default,
impl<'de> Deserialize<'de> for SegmentListwhere
SegmentList: 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
sourceimpl Serialize for SegmentList
impl Serialize for SegmentList
Auto Trait Implementations
impl RefUnwindSafe for SegmentList
impl Send for SegmentList
impl Sync for SegmentList
impl Unpin for SegmentList
impl UnwindSafe for SegmentList
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