pub struct SpliceInsert {
pub splice_event_id: u32,
pub splice_event_cancel_indicator: bool,
pub out_of_network_indicator: bool,
pub program_splice_flag: bool,
pub splice_immediate_flag: bool,
pub event_id_compliance_flag: bool,
pub splice_time: Option<SpliceTime>,
pub components: Vec<SpliceInsertComponent>,
pub break_duration: Option<BreakDuration>,
pub unique_program_id: u16,
pub avail_num: u8,
pub avails_expected: u8,
}Expand description
splice_insert() — §9.7.3, Table 10.
Fields§
§splice_event_id: u3232-bit unique splice_event_id (§9.9.3).
splice_event_cancel_indicator: boolWhen true, the named event has been cancelled and no further fields
are present.
out_of_network_indicator: boolout_of_network_indicator (present only when not cancelled).
program_splice_flag: boolprogram_splice_flag: true = Program Splice Mode (supported);
false = Component Splice Mode (deprecated).
splice_immediate_flag: boolsplice_immediate_flag: when true, no splice_time() is present and
the splicer chooses the nearest opportunity.
event_id_compliance_flag: boolevent_id_compliance_flag: false = event id complies with §9.9.3.
splice_time: Option<SpliceTime>Program-mode splice_time(), present only when
program_splice_flag == 1 && splice_immediate_flag == 0.
components: Vec<SpliceInsertComponent>Component-mode entries, present only when program_splice_flag == 0
(deprecated).
break_duration: Option<BreakDuration>break_duration(), present only when duration_flag == 1.
unique_program_id: u16unique_program_id.
avail_num: u8avail_num.
avails_expected: u8avails_expected.
Trait Implementations§
Source§impl Clone for SpliceInsert
impl Clone for SpliceInsert
Source§fn clone(&self) -> SpliceInsert
fn clone(&self) -> SpliceInsert
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl CommandDef<'_> for SpliceInsert
impl CommandDef<'_> for SpliceInsert
Source§impl Debug for SpliceInsert
impl Debug for SpliceInsert
Source§impl Default for SpliceInsert
impl Default for SpliceInsert
impl Eq for SpliceInsert
Source§impl<'a> From<SpliceInsert> for AnyCommand<'a>
impl<'a> From<SpliceInsert> for AnyCommand<'a>
Source§fn from(c: SpliceInsert) -> Self
fn from(c: SpliceInsert) -> Self
Source§impl<'a> Parse<'a> for SpliceInsert
impl<'a> Parse<'a> for SpliceInsert
Source§impl PartialEq for SpliceInsert
impl PartialEq for SpliceInsert
Source§fn eq(&self, other: &SpliceInsert) -> bool
fn eq(&self, other: &SpliceInsert) -> bool
self and other values to be equal, and is used by ==.Source§impl Serialize for SpliceInsert
impl Serialize for SpliceInsert
Source§impl Serialize for SpliceInsert
impl Serialize for SpliceInsert
Source§type Error = Error
type Error = Error
Parse impl, but need not be).Source§fn serialized_len(&self) -> usize
fn serialized_len(&self) -> usize
serialize_into will write.