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