pub struct MapTag {
pub uri: String,
pub byte_range: Option<ByteRange>,
pub extra_attrs: Vec<(String, String)>,
}Expand description
The Media Initialization Section reference of #EXT-X-MAP (RFC 8216bis
§4.4.4.5) — see MediaSegment::map for carry-forward/dedup semantics.
Fields§
§uri: StringURI — the resource containing the Media Initialization Section
(REQUIRED).
byte_range: Option<ByteRange>BYTERANGE — a sub-range of uri containing just the
Initialization Section. None means the entire resource. The
offset is always present when this is Some (spec requires it here,
unlike MediaSegment::byte_range/PartSpec::byte_range).
extra_attrs: Vec<(String, String)>Unmodeled attributes, retained so REQ- prefixed names can fire
RFC 8216bis §8 row 12. Sorted by name on parse (deterministic).
Trait Implementations§
impl Eq for MapTag
impl StructuralPartialEq for MapTag
Auto Trait Implementations§
impl Freeze for MapTag
impl RefUnwindSafe for MapTag
impl Send for MapTag
impl Sync for MapTag
impl Unpin for MapTag
impl UnsafeUnpin for MapTag
impl UnwindSafe for MapTag
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