pub struct EitSection<'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§
Source§impl<'a> Clone for EitSection<'a>
impl<'a> Clone for EitSection<'a>
Source§fn clone(&self) -> EitSection<'a>
fn clone(&self) -> EitSection<'a>
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 moreSource§impl<'a> Debug for EitSection<'a>
impl<'a> Debug for EitSection<'a>
impl<'a> Eq for EitSection<'a>
Source§impl<'a> From<EitSection<'a>> for AnyTableSection<'a>
impl<'a> From<EitSection<'a>> for AnyTableSection<'a>
Source§fn from(t: EitSection<'a>) -> Self
fn from(t: EitSection<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a> Parse<'a> for EitSection<'a>
impl<'a> Parse<'a> for EitSection<'a>
Source§impl<'a> PartialEq for EitSection<'a>
impl<'a> PartialEq for EitSection<'a>
Source§fn eq(&self, other: &EitSection<'a>) -> bool
fn eq(&self, other: &EitSection<'a>) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl<'a> Serialize for EitSection<'a>
impl<'a> Serialize for EitSection<'a>
Source§impl Serialize for EitSection<'_>
impl Serialize for EitSection<'_>
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 EitSection<'a>
Source§impl<'a> Table<'a> for EitSection<'a>
impl<'a> Table<'a> for EitSection<'a>
Source§impl<'a> TableDef<'a> for EitSection<'a>
impl<'a> TableDef<'a> for EitSection<'a>
Source§impl<'a> Yokeable<'a> for EitSection<'static>
impl<'a> Yokeable<'a> for EitSection<'static>
Source§type Output = EitSection<'a>
type Output = EitSection<'a>
This type MUST be
Self with the 'static replaced with 'a, i.e. Self<'a>Source§fn transform_owned(self) -> Self::Output
fn transform_owned(self) -> Self::Output
Auto Trait Implementations§
impl<'a> Freeze for EitSection<'a>
impl<'a> RefUnwindSafe for EitSection<'a>
impl<'a> Send for EitSection<'a>
impl<'a> Sync for EitSection<'a>
impl<'a> Unpin for EitSection<'a>
impl<'a> UnsafeUnpin for EitSection<'a>
impl<'a> UnwindSafe for EitSection<'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