Struct dash_mpd::SegmentBase
source · pub struct SegmentBase {
pub initialization: Option<Initialization>,
pub timescale: Option<u64>,
pub presentationTimeOffset: Option<u64>,
pub indexRange: Option<String>,
pub indexRangeExact: Option<bool>,
pub availabilityTimeOffset: Option<f64>,
pub availabilityTimeComplete: Option<bool>,
}
Expand description
Specifies some common information concerning media segments.
Fields§
§initialization: Option<Initialization>
§timescale: Option<u64>
§presentationTimeOffset: Option<u64>
§indexRange: Option<String>
§indexRangeExact: Option<bool>
§availabilityTimeOffset: Option<f64>
§availabilityTimeComplete: Option<bool>
Trait Implementations§
source§impl Clone for SegmentBase
impl Clone for SegmentBase
source§fn clone(&self) -> SegmentBase
fn clone(&self) -> SegmentBase
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 SegmentBase
impl Debug for SegmentBase
source§impl Default for SegmentBase
impl Default for SegmentBase
source§fn default() -> SegmentBase
fn default() -> SegmentBase
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SegmentBasewhere
SegmentBase: Default,
impl<'de> Deserialize<'de> for SegmentBasewhere SegmentBase: 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