pub struct RctSection<'a> {
pub table_id_extension_flag: bool,
pub service_id: u16,
pub version_number: u8,
pub current_next_indicator: bool,
pub section_number: u8,
pub last_section_number: u8,
pub year_offset: u16,
pub links: Vec<LinkInfo<'a>>,
pub descriptors: DescriptorLoop<'a>,
}Expand description
Related Content Table (ETSI TS 102 323 v1.4.1 §10.4.2, Table 109).
The link_info loop is unfolded into typed LinkInfo entries.
Fields§
§table_id_extension_flag: booltable_id_extension_flag (bit 6 of byte 1).
service_id: u16service_id — table_id_extension field.
version_number: u85-bit version_number.
current_next_indicator: boolcurrent_next_indicator.
section_number: u8section_number.
last_section_number: u8last_section_number.
year_offset: u16year_offset — reference year.
links: Vec<LinkInfo<'a>>Link info entries — unfolded per Table 110.
descriptors: DescriptorLoop<'a>Trailing descriptor loop.
Trait Implementations§
Source§impl<'a> Clone for RctSection<'a>
impl<'a> Clone for RctSection<'a>
Source§fn clone(&self) -> RctSection<'a>
fn clone(&self) -> RctSection<'a>
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<'a> Debug for RctSection<'a>
impl<'a> Debug for RctSection<'a>
impl<'a> Eq for RctSection<'a>
Source§impl<'a> From<RctSection<'a>> for AnyTableSection<'a>
impl<'a> From<RctSection<'a>> for AnyTableSection<'a>
Source§fn from(t: RctSection<'a>) -> Self
fn from(t: RctSection<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a> Parse<'a> for RctSection<'a>
impl<'a> Parse<'a> for RctSection<'a>
Source§impl<'a> PartialEq for RctSection<'a>
impl<'a> PartialEq for RctSection<'a>
Source§fn eq(&self, other: &RctSection<'a>) -> bool
fn eq(&self, other: &RctSection<'a>) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl<'a> Serialize for RctSection<'a>
impl<'a> Serialize for RctSection<'a>
Source§impl Serialize for RctSection<'_>
impl Serialize for RctSection<'_>
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 RctSection<'a>
Source§impl<'a> TableDef<'a> for RctSection<'a>
impl<'a> TableDef<'a> for RctSection<'a>
Source§impl<'a> Yokeable<'a> for RctSection<'static>
impl<'a> Yokeable<'a> for RctSection<'static>
Source§type Output = RctSection<'a>
type Output = RctSection<'a>
This type MUST be
Self with the 'static replaced with 'a, i.e. Self<'a>Source§fn transform_owned(self) -> Self::Output
fn transform_owned(self) -> Self::Output
Auto Trait Implementations§
impl<'a> Freeze for RctSection<'a>
impl<'a> RefUnwindSafe for RctSection<'a>
impl<'a> Send for RctSection<'a>
impl<'a> Sync for RctSection<'a>
impl<'a> Unpin for RctSection<'a>
impl<'a> UnsafeUnpin for RctSection<'a>
impl<'a> UnwindSafe for RctSection<'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