pub struct Ait<'a> {
pub application_type: u16,
pub test_application_flag: bool,
pub version_number: u8,
pub current_next_indicator: bool,
pub section_number: u8,
pub last_section_number: u8,
pub common_descriptors: DescriptorLoop<'a>,
pub applications: Vec<AitApplication<'a>>,
}Expand description
Application Information Table.
Fields§
§application_type: u1615-bit application_type (e.g. 0x0010 for HbbTV).
test_application_flag: boolTest application flag (bit 15 of the extension field).
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.
common_descriptors: DescriptorLoop<'a>Raw common descriptor bytes.
Common descriptor loop. Serializes as the typed descriptor sequence;
.raw() yields the wire bytes.
applications: Vec<AitApplication<'a>>Applications in wire order.
Trait Implementations§
impl<'a> Eq for Ait<'a>
Source§impl Serialize for Ait<'_>
impl Serialize for Ait<'_>
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 Ait<'a>
Auto Trait Implementations§
impl<'a> Freeze for Ait<'a>
impl<'a> RefUnwindSafe for Ait<'a>
impl<'a> Send for Ait<'a>
impl<'a> Sync for Ait<'a>
impl<'a> Unpin for Ait<'a>
impl<'a> UnsafeUnpin for Ait<'a>
impl<'a> UnwindSafe for Ait<'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