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>,
pub SegmentTimeline: Option<SegmentTimeline>,
pub BitstreamSwitching: Option<BitstreamSwitching>,
}
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>
§SegmentTimeline: Option<SegmentTimeline>
§BitstreamSwitching: Option<BitstreamSwitching>
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§impl Serialize for SegmentList
impl Serialize for SegmentList
impl StructuralPartialEq for SegmentList
Auto Trait Implementations§
impl Freeze for SegmentList
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more