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
sourceimpl Clone for SegmentBase
impl Clone for SegmentBase
sourcefn clone(&self) -> SegmentBase
fn clone(&self) -> SegmentBase
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 SegmentBase
impl Debug for SegmentBase
sourceimpl Default for SegmentBase
impl Default for SegmentBase
sourcefn default() -> SegmentBase
fn default() -> SegmentBase
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for SegmentBasewhere
SegmentBase: Default,
impl<'de> Deserialize<'de> for SegmentBasewhere
SegmentBase: 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 SegmentBase
impl Serialize for SegmentBase
Auto Trait Implementations
impl RefUnwindSafe for SegmentBase
impl Send for SegmentBase
impl Sync for SegmentBase
impl Unpin for SegmentBase
impl UnwindSafe for SegmentBase
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