#[non_exhaustive]pub struct ResourceRef {
pub reference: String,
pub byte_range: Option<ByteRange>,
pub available_from_us: Option<i128>,
pub available_until_us: Option<i128>,
}Expand description
An Initialization or Index Segment address.
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.reference: StringURL reference (empty: the BaseURL itself).
byte_range: Option<ByteRange>Byte range.
available_from_us: Option<i128>Availability start (dynamic MPD).
available_until_us: Option<i128>Availability end: that of the last Media Segment.
Trait Implementations§
Source§impl Clone for ResourceRef
impl Clone for ResourceRef
Source§impl Debug for ResourceRef
impl Debug for ResourceRef
impl Eq for ResourceRef
Source§impl PartialEq for ResourceRef
impl PartialEq for ResourceRef
impl StructuralPartialEq for ResourceRef
Auto Trait Implementations§
impl Freeze for ResourceRef
impl RefUnwindSafe for ResourceRef
impl Send for ResourceRef
impl Sync for ResourceRef
impl Unpin for ResourceRef
impl UnsafeUnpin for ResourceRef
impl UnwindSafe for ResourceRef
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