pub struct Sit<'a> {
pub table_id_extension: u16,
pub version_number: u8,
pub current_next_indicator: bool,
pub section_number: u8,
pub last_section_number: u8,
pub transmission_info_descriptors: DescriptorLoop<'a>,
pub services: Vec<SitService<'a>>,
}Expand description
Selection Information Table (§7.1.2, Table 164).
Fields§
§table_id_extension: u1616-bit field after section_length — reserved_future_use for the SIT (conventionally 0xFFFF); retained verbatim.
version_number: u85-bit version_number.
current_next_indicator: boolcurrent_next_indicator bit.
section_number: u8section_number in the sub-table sequence.
last_section_number: u8last_section_number in the sub-table sequence.
transmission_info_descriptors: DescriptorLoop<'a>Transmission-info descriptor loop (the first loop). Serializes as the
typed descriptor sequence; .raw() yields the wire bytes.
services: Vec<SitService<'a>>Per-service loop, in wire order.
Trait Implementations§
impl<'a> Eq for Sit<'a>
Source§impl Serialize for Sit<'_>
impl Serialize for Sit<'_>
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 Sit<'a>
Auto Trait Implementations§
impl<'a> Freeze for Sit<'a>
impl<'a> RefUnwindSafe for Sit<'a>
impl<'a> Send for Sit<'a>
impl<'a> Sync for Sit<'a>
impl<'a> Unpin for Sit<'a>
impl<'a> UnsafeUnpin for Sit<'a>
impl<'a> UnwindSafe for Sit<'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