Struct dash_mpd::SegmentList
source · pub struct SegmentList {
pub duration: Option<u64>,
pub timescale: Option<u64>,
pub indexRange: Option<String>,
pub indexRangeExact: Option<bool>,
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>
§timescale: Option<u64>
§indexRange: Option<String>
§indexRangeExact: Option<bool>
§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§
source§impl Clone for SegmentList
impl Clone for SegmentList
source§fn clone(&self) -> SegmentList
fn clone(&self) -> SegmentList
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SegmentList
impl Debug for SegmentList
source§impl Default for SegmentList
impl Default for SegmentList
source§fn default() -> SegmentList
fn default() -> SegmentList
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SegmentListwhere
SegmentList: Default,
impl<'de> Deserialize<'de> for SegmentListwhere
SegmentList: 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
source§impl Hash for SegmentList
impl Hash for SegmentList
source§impl PartialEq for SegmentList
impl PartialEq for SegmentList
source§fn eq(&self, other: &SegmentList) -> bool
fn eq(&self, other: &SegmentList) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SegmentList
impl Serialize for SegmentList
impl StructuralPartialEq 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§
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