pub struct Bat<'a> {
pub bouquet_id: u16,
pub version_number: u8,
pub current_next_indicator: bool,
pub section_number: u8,
pub last_section_number: u8,
pub bouquet_descriptors: &'a [u8],
pub transport_streams: Vec<BatTransportStream<'a>>,
}Expand description
Bouquet Association Table.
Fields§
§bouquet_id: u16Bouquet identifier (table_id_extension at bytes 3-4).
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.
bouquet_descriptors: &'a [u8]Raw bouquet-descriptor bytes (may contain bouquet_name_descriptor 0x47).
transport_streams: Vec<BatTransportStream<'a>>Transport-stream loop entries in wire order.
Implementations§
Trait Implementations§
Source§impl<'de: 'a, 'a> Deserialize<'de> for Bat<'a>
impl<'de: 'a, 'a> Deserialize<'de> for Bat<'a>
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl<'a> Eq for Bat<'a>
Source§impl Serialize for Bat<'_>
impl Serialize for Bat<'_>
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 Bat<'a>
Auto Trait Implementations§
impl<'a> Freeze for Bat<'a>
impl<'a> RefUnwindSafe for Bat<'a>
impl<'a> Send for Bat<'a>
impl<'a> Sync for Bat<'a>
impl<'a> Unpin for Bat<'a>
impl<'a> UnsafeUnpin for Bat<'a>
impl<'a> UnwindSafe for Bat<'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