#[non_exhaustive]pub struct EitProgramme {
pub event_id: u16,
pub service_id: u16,
pub title: Option<String>,
pub start: Option<String>,
pub duration_secs: Option<u64>,
}Expand description
Programme identity for one period file, derived from the tracked
service’s EIT present event (ETSI EN 300 468 §5.2.4) at the moment the
period was opened (or, if the event became known only afterwards, at the
moment it did). Written as pN.event.json alongside the period file and
its index — see the module docs.
None fields reflect fields the broadcast itself left undecodable
(out-of-range BCD nibbles) or absent (no short_event_descriptor) —
never a parse failure silently swallowed.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.event_id: u1616-bit event_id (EN 300 468 §5.2.4 Table 7).
service_id: u16service_id this event belongs to (the EIT section’s
table_id_extension).
title: Option<String>Event title, decoded from the event’s short_event_descriptor
(EN 300 468 §6.2.37). None if the event carried no such
descriptor.
start: Option<String>Announced start time, decoded from the 40-bit MJD+BCD start_time
field, rendered YYYY-MM-DDTHH:MM:SSZ (the field is always UTC per
EN 300 468 Annex C — this is not a timezone conversion, just a
human-readable rendering of the same UTC instant).
duration_secs: Option<u64>Announced duration in seconds, decoded from the 24-bit BCD
duration field.
Trait Implementations§
Source§impl Clone for EitProgramme
impl Clone for EitProgramme
Source§fn clone(&self) -> EitProgramme
fn clone(&self) -> EitProgramme
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for EitProgramme
impl Debug for EitProgramme
Source§impl<'de> Deserialize<'de> for EitProgramme
impl<'de> Deserialize<'de> for EitProgramme
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>,
Source§impl PartialEq for EitProgramme
impl PartialEq for EitProgramme
Source§impl Serialize for EitProgramme
impl Serialize for EitProgramme
impl StructuralPartialEq for EitProgramme
Auto Trait Implementations§
impl Freeze for EitProgramme
impl RefUnwindSafe for EitProgramme
impl Send for EitProgramme
impl Sync for EitProgramme
impl Unpin for EitProgramme
impl UnsafeUnpin for EitProgramme
impl UnwindSafe for EitProgramme
Blanket Implementations§
Source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
Source§type ArchivedMetadata = ()
type ArchivedMetadata = ()
Source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> DescriptorObject for T
impl<T> DescriptorObject for T
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> ExtensionObject for T
impl<T> ExtensionObject for T
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
Source§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Source§impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2
impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2
Source§unsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool
unsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool
Source§fn resolve_niched(out: Place<NichedOption<T, N1>>)
fn resolve_niched(out: Place<NichedOption<T, N1>>)
out indicating that a T is niched.