#[non_exhaustive]pub struct EventStream {
pub xlink: Option<Xlink>,
pub scheme_id_uri: String,
pub value: Option<String>,
pub timescale: Option<u32>,
pub presentation_time_offset: Option<u64>,
pub events: Vec<StreamEvent>,
pub base_urls: Vec<BaseUrl>,
pub request_params: Vec<RequestParam>,
pub essential_properties: Vec<Descriptor>,
pub supplemental_properties: Vec<Descriptor>,
}Expand description
An EventStream (ISO/IEC 23009-1 clause 5.10.2, Table 27; Annex B
EventStreamType) of a Period.
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.xlink: Option<Xlink>xlink reference; the stream is then unresolved.
scheme_id_uri: String@schemeIdUri.
value: Option<String>@value.
timescale: Option<u32>@timescale, ticks per second.
presentation_time_offset: Option<u64>@presentationTimeOffset, in the timescale.
events: Vec<StreamEvent>The Event children in document order.
base_urls: Vec<BaseUrl>BaseURL alternates.
request_params: Vec<RequestParam>RequestParam children (up:ExtendedUrlInfoType).
essential_properties: Vec<Descriptor>EssentialProperty.
supplemental_properties: Vec<Descriptor>SupplementalProperty.
Trait Implementations§
Source§impl Clone for EventStream
impl Clone for EventStream
Source§impl Debug for EventStream
impl Debug for EventStream
Source§impl Default for EventStream
impl Default for EventStream
Source§impl PartialEq for EventStream
impl PartialEq for EventStream
impl StructuralPartialEq for EventStream
Auto Trait Implementations§
impl Forget for EventStream
impl Freeze for EventStream
impl Move for EventStream
impl RefUnwindSafe for EventStream
impl Send for EventStream
impl Sync for EventStream
impl Unpin for EventStream
impl UnsafeUnpin for EventStream
impl UnwindSafe for EventStream
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