pub struct Container<'a> {
pub private_indicator: bool,
pub container_id: u16,
pub version_number: u8,
pub current_next_indicator: bool,
pub section_number: u8,
pub last_section_number: u8,
pub container_data: &'a [u8],
}Expand description
Container Table (ETSI TS 102 323 v1.4.1 §7.3.1.4).
container_data borrows the payload region (everything between the extension
header and the CRC-32 trailer) without parsing its internal structure.
Fields§
§private_indicator: boolprivate_indicator bit from byte 1 (this is a private section).
container_id: u1616-bit container_id (carried in the table_id_extension slot, 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.
container_data: &'a [u8]Raw container_data bytes (everything between the extension header and
the CRC-32 trailer). Internal structure is not parsed.
Trait Implementations§
Source§impl<'de: 'a, 'a> Deserialize<'de> for Container<'a>
impl<'de: 'a, 'a> Deserialize<'de> for Container<'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 Container<'a>
Source§impl<'a> PartialEq for Container<'a>
impl<'a> PartialEq for Container<'a>
Source§impl Serialize for Container<'_>
impl Serialize for Container<'_>
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 Container<'a>
Auto Trait Implementations§
impl<'a> Freeze for Container<'a>
impl<'a> RefUnwindSafe for Container<'a>
impl<'a> Send for Container<'a>
impl<'a> Sync for Container<'a>
impl<'a> Unpin for Container<'a>
impl<'a> UnsafeUnpin for Container<'a>
impl<'a> UnwindSafe for Container<'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