pub struct Scte35Marker {
pub time_seconds: f64,
pub out_of_network: bool,
pub event_id: Option<u32>,
pub break_duration_seconds: Option<f64>,
}Expand description
A SCTE-35 cue placement relative to the presentation timeline.
Fields§
§time_seconds: f64Presentation time in seconds from the period / asset start.
out_of_network: boolCue-out (ad start) when true; cue-in (ad end / return-to-network) when false.
event_id: Option<u32>Optional event id (defaults to a hash of the time).
break_duration_seconds: Option<f64>Optional break duration in seconds (cue-out only).
Implementations§
Trait Implementations§
Source§impl Clone for Scte35Marker
impl Clone for Scte35Marker
Source§fn clone(&self) -> Scte35Marker
fn clone(&self) -> Scte35Marker
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 Scte35Marker
impl RefUnwindSafe for Scte35Marker
impl Send for Scte35Marker
impl Sync for Scte35Marker
impl Unpin for Scte35Marker
impl UnsafeUnpin for Scte35Marker
impl UnwindSafe for Scte35Marker
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