#[non_exhaustive]pub struct BaseInfo {
pub timescale: Option<u64>,
pub presentation_time_offset: Option<u64>,
pub ept_delta: Option<i64>,
pub pd_delta: Option<i64>,
pub presentation_duration: Option<u64>,
pub time_shift_buffer_depth: Option<Duration>,
pub index_range: Option<ByteRange>,
pub index_range_exact: Option<bool>,
pub availability_time_offset: Option<f64>,
pub availability_time_complete: Option<bool>,
pub initialization: Option<UrlType>,
pub representation_index: Option<UrlType>,
}Expand description
SegmentBase / the Segment Base Information fields (Table 16).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.timescale: Option<u64>@timescale.
presentation_time_offset: Option<u64>@presentationTimeOffset.
ept_delta: Option<i64>@eptDelta.
pd_delta: Option<i64>@pdDelta.
presentation_duration: Option<u64>@presentationDuration.
time_shift_buffer_depth: Option<Duration>@timeShiftBufferDepth.
index_range: Option<ByteRange>@indexRange.
index_range_exact: Option<bool>@indexRangeExact.
availability_time_offset: Option<f64>@availabilityTimeOffset, seconds (may be INF).
availability_time_complete: Option<bool>@availabilityTimeComplete.
initialization: Option<UrlType>Initialization.
representation_index: Option<UrlType>RepresentationIndex.
Trait Implementations§
impl StructuralPartialEq for BaseInfo
Auto Trait Implementations§
impl Freeze for BaseInfo
impl RefUnwindSafe for BaseInfo
impl Send for BaseInfo
impl Sync for BaseInfo
impl Unpin for BaseInfo
impl UnsafeUnpin for BaseInfo
impl UnwindSafe for BaseInfo
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