pub struct Eit<'a> {
pub kind: EitKind,
pub table_id: u8,
pub service_id: u16,
pub version_number: u8,
pub current_next_indicator: bool,
pub section_number: u8,
pub last_section_number: u8,
pub transport_stream_id: u16,
pub original_network_id: u16,
pub segment_last_section_number: u8,
pub last_table_id: u8,
pub events: Vec<EitEvent<'a>>,
}Expand description
Event Information Table.
Fields§
§kind: EitKindVariant based on table_id.
table_id: u8Raw table_id byte as parsed (for schedule sub-tables, identifies the slot).
service_id: u16service_id the events belong to (table_id_extension).
version_number: u85-bit version_number.
current_next_indicator: boolcurrent_next_indicator bit.
section_number: u8section_number.
last_section_number: u8last_section_number.
transport_stream_id: u16transport_stream_id the events are carried on.
original_network_id: u16original_network_id.
segment_last_section_number: u8segment_last_section_number.
last_table_id: u8last_table_id (for schedule sub-table grouping).
events: Vec<EitEvent<'a>>Events in wire order.
Trait Implementations§
impl<'a> Eq for Eit<'a>
Source§impl Serialize for Eit<'_>
impl Serialize for Eit<'_>
Source§type Error = Error
type Error = Error
The error type this implementer returns (usually the same as the
corresponding
Parse impl, but need not be).Source§fn serialized_len(&self) -> usize
fn serialized_len(&self) -> usize
Number of bytes
serialize_into will write.impl<'a> StructuralPartialEq for Eit<'a>
Auto Trait Implementations§
impl<'a> Freeze for Eit<'a>
impl<'a> RefUnwindSafe for Eit<'a>
impl<'a> Send for Eit<'a>
impl<'a> Sync for Eit<'a>
impl<'a> Unpin for Eit<'a>
impl<'a> UnsafeUnpin for Eit<'a>
impl<'a> UnwindSafe for Eit<'a>
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