pub struct ProgramAssociationTable {
pub transport_stream_id: u16,
pub version_number: u8,
pub current_next_indicator: bool,
pub section_number: u8,
pub last_section_number: u8,
pub programs: Vec<(u16, u16)>,
}Expand description
Parsed Program Association Table.
Fields§
§transport_stream_id: u16transport_stream_id carried in table_id_extension.
version_number: u85-bit version_number.
current_next_indicator: boolcurrent_next_indicator.
section_number: u8section_number.
last_section_number: u8last_section_number.
programs: Vec<(u16, u16)>(program_number, pmt_pid) pairs.
program_number == 0 denotes the network PID; otherwise the
PID is the PMT for that program.
Implementations§
Trait Implementations§
Source§impl Clone for ProgramAssociationTable
impl Clone for ProgramAssociationTable
Source§fn clone(&self) -> ProgramAssociationTable
fn clone(&self) -> ProgramAssociationTable
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 Debug for ProgramAssociationTable
impl Debug for ProgramAssociationTable
Source§impl Default for ProgramAssociationTable
impl Default for ProgramAssociationTable
Source§fn default() -> ProgramAssociationTable
fn default() -> ProgramAssociationTable
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ProgramAssociationTable
impl RefUnwindSafe for ProgramAssociationTable
impl Send for ProgramAssociationTable
impl Sync for ProgramAssociationTable
impl Unpin for ProgramAssociationTable
impl UnsafeUnpin for ProgramAssociationTable
impl UnwindSafe for ProgramAssociationTable
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