pub struct EmsgConfig {
pub timescale: u32,
pub presentation: PresentationTime,
pub event_duration: u32,
pub value: String,
pub id: u32,
}Expand description
Parameters for emitting a SCTE-35-carrying emsg.
Fields§
§timescale: u32timescale (ticks/second) for the emsg time fields.
presentation: PresentationTimepresentation_time_delta (v0) or presentation_time (v1).
event_duration: u32event_duration in timescale units (0 if unknown).
value: Stringvalue string (often the segmentation type id, as text).
id: u32id — unique event identifier (u32).
Trait Implementations§
Source§impl Clone for EmsgConfig
impl Clone for EmsgConfig
Source§fn clone(&self) -> EmsgConfig
fn clone(&self) -> EmsgConfig
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 EmsgConfig
impl RefUnwindSafe for EmsgConfig
impl Send for EmsgConfig
impl Sync for EmsgConfig
impl Unpin for EmsgConfig
impl UnsafeUnpin for EmsgConfig
impl UnwindSafe for EmsgConfig
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