pub struct SegmentBase {
pub initialization: Option<Initialization>,
pub RepresentationIndex: Option<RepresentationIndex>,
pub timescale: Option<u64>,
pub presentationDuration: Option<u64>,
pub presentationTimeOffset: Option<u64>,
pub eptDelta: Option<i64>,
pub pbDelta: Option<i64>,
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>
§eptDelta: Option<i64>
Indicates a possible offset between media segment start/end points and period start/end points.
pbDelta: Option<i64>
Specifies the difference between the presentation duration of this Representation and the Period duration. Expressed in units of @timescale.
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 for SegmentBase
impl PartialEq for SegmentBase
Source§impl Serialize for SegmentBase
impl Serialize for SegmentBase
impl StructuralPartialEq for SegmentBase
Auto Trait Implementations§
impl Freeze for SegmentBase
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
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