pub struct Pat {
pub transport_stream_id: u16,
pub version_number: u8,
pub current_next_indicator: bool,
pub section_number: u8,
pub last_section_number: u8,
pub entries: Vec<PatEntry>,
}Expand description
Program Association Table.
Fields§
§transport_stream_id: u16transport_stream_id from the section header.
version_number: u85-bit version_number from the section header.
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.
entries: Vec<PatEntry>Program entries in wire order.
Implementations§
Trait Implementations§
impl Eq for Pat
Source§impl Serialize for Pat
impl Serialize for Pat
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 StructuralPartialEq for Pat
Auto Trait Implementations§
impl Freeze for Pat
impl RefUnwindSafe for Pat
impl Send for Pat
impl Sync for Pat
impl Unpin for Pat
impl UnsafeUnpin for Pat
impl UnwindSafe for Pat
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