pub struct EventStream {
pub scheme_id_uri: String,
pub value: Option<String>,
pub timescale: u32,
pub events: Vec<DashEvent>,
}Expand description
DASH EventStream (SCTE-35 ad markers, interstitials, …).
Fields§
§scheme_id_uri: StringScheme URI — for binary SCTE-35: urn:scte:scte35:2014:xml+bin.
value: Option<String>Optional scheme value.
timescale: u32Timescale for event presentation times / durations.
events: Vec<DashEvent>Events in presentation order.
Implementations§
Source§impl EventStream
impl EventStream
Sourcepub fn scte35_bin(timescale: u32, events: Vec<DashEvent>) -> Self
pub fn scte35_bin(timescale: u32, events: Vec<DashEvent>) -> Self
SCTE-35 binary event stream (urn:scte:scte35:2014:xml+bin).
Trait Implementations§
Source§impl Clone for EventStream
impl Clone for EventStream
Source§fn clone(&self) -> EventStream
fn clone(&self) -> EventStream
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze 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