1
2
3
4
5
6
7
8
9
10
11
12

#[derive(Debug, Clone)]
pub struct Association {
  pub program_number: u16,
  pub program_map_pid: u16,
}

#[derive(Debug, Clone)]
pub struct ProgramAssociation {
  pub transport_stream_id: u16,
  pub table: Vec<Association>
}