pub struct SdtService<'a> {
pub service_id: u16,
pub eit_schedule_flag: bool,
pub eit_present_following_flag: bool,
pub running_status: u8,
pub free_ca_mode: bool,
pub descriptors: DescriptorLoop<'a>,
}Expand description
One service entry in an SDT.
Fields§
§service_id: u16service_id (matches program_number in the PAT).
eit_schedule_flag: boolEIT schedule flag — present-and-following events are in the EIT/schedule.
eit_present_following_flag: boolEIT P/F flag — present-and-following events are in the EIT present/following.
running_status: u83-bit running_status (0=undefined .. 4=running).
free_ca_mode: boolfree_CA_mode: true = at least one elementary stream is scrambled.
descriptors: DescriptorLoop<'a>Descriptor loop for this service (service_descriptor etc.). Serializes
as the typed descriptor sequence; .raw() yields the wire bytes.
Trait Implementations§
Source§impl<'a> Clone for SdtService<'a>
impl<'a> Clone for SdtService<'a>
Source§fn clone(&self) -> SdtService<'a>
fn clone(&self) -> SdtService<'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 SdtService<'a>
impl<'a> Debug for SdtService<'a>
impl<'a> Eq for SdtService<'a>
Source§impl<'a> PartialEq for SdtService<'a>
impl<'a> PartialEq for SdtService<'a>
Source§fn eq(&self, other: &SdtService<'a>) -> bool
fn eq(&self, other: &SdtService<'a>) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl<'a> Serialize for SdtService<'a>
impl<'a> Serialize for SdtService<'a>
impl<'a> StructuralPartialEq for SdtService<'a>
Source§impl<'a> Yokeable<'a> for SdtService<'static>
impl<'a> Yokeable<'a> for SdtService<'static>
Source§type Output = SdtService<'a>
type Output = SdtService<'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 SdtService<'a>
impl<'a> RefUnwindSafe for SdtService<'a>
impl<'a> Send for SdtService<'a>
impl<'a> Sync for SdtService<'a>
impl<'a> Unpin for SdtService<'a>
impl<'a> UnsafeUnpin for SdtService<'a>
impl<'a> UnwindSafe for SdtService<'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