#[non_exhaustive]pub struct EmsgConfig {
pub timescale: Timescale,
pub presentation: PresentationTime,
pub event_duration: Option<u32>,
pub value: String,
pub id: u32,
}Expand description
Parameters for emitting a SCTE-35-carrying emsg.
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.timescale: Timescaletimescale (ticks/second) for the emsg time fields.
presentation: PresentationTimepresentation_time relative to PeriodStart adjusted by
@presentationTimeOffset (214-1 2024 §7.7.3(3)); version 1 only.
event_duration: Option<u32>event_duration in timescale units (None = not known, written as
UNKNOWN_EVENT_DURATION; 214-1 2024 §7.7.3(4)).
value: Stringvalue — the SCTE 35 PID or a URI (214-1 2024 §7.7.3(5)).
id: u32id — unique within the Period (214-1 2024 §7.7.3(6)).
Implementations§
Trait Implementations§
Source§impl Clone for EmsgConfig
impl Clone for EmsgConfig
Auto Trait Implementations§
impl Forget for EmsgConfig
impl Freeze for EmsgConfig
impl Move 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