Struct dash_mpd::SegmentBase
source · pub struct SegmentBase {
pub initialization: Option<Initialization>,
pub RepresentationIndex: Option<RepresentationIndex>,
pub timescale: Option<u64>,
pub presentationDuration: Option<u64>,
pub presentationTimeOffset: Option<u64>,
pub indexRange: Option<String>,
pub indexRangeExact: Option<bool>,
pub availabilityTimeOffset: Option<f64>,
pub availabilityTimeComplete: Option<bool>,
pub failover_content: Option<FailoverContent>,
}
Expand description
Specifies some common information concerning media segments.
Fields§
§initialization: Option<Initialization>
§RepresentationIndex: Option<RepresentationIndex>
§timescale: Option<u64>
§presentationDuration: Option<u64>
§presentationTimeOffset: Option<u64>
§indexRange: Option<String>
§indexRangeExact: Option<bool>
§availabilityTimeOffset: Option<f64>
§availabilityTimeComplete: Option<bool>
§failover_content: Option<FailoverContent>
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
source§impl PartialEq<SegmentBase> for SegmentBase
impl PartialEq<SegmentBase> for SegmentBase
source§fn eq(&self, other: &SegmentBase) -> bool
fn eq(&self, other: &SegmentBase) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SegmentBase
impl Serialize for SegmentBase
impl StructuralPartialEq 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§
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