Enum scte35_reader::SegmentationDescriptor[][src]

pub enum SegmentationDescriptor {
    Cancel,
    Insert {
        program_segmentation_flag: bool,
        segmentation_duration_flag: bool,
        delivery_not_restricted_flag: bool,
        delivery_restrictions: DeliveryRestrictionFlags,
        segmentation_mode: SegmentationMode,
        segmentation_duration: Option<u64>,
        segmentation_upid: SegmentationUpid,
        segmentation_type_id: SegmentationTypeId,
        segment_num: u8,
        segments_expected: u8,
        sub_segments: Option<SubSegments>,
    },
}

Variants

Cancel
Insert

Fields of Insert

program_segmentation_flag: boolsegmentation_duration_flag: booldelivery_not_restricted_flag: booldelivery_restrictions: DeliveryRestrictionFlagssegmentation_mode: SegmentationModesegmentation_duration: Option<u64>segmentation_upid: SegmentationUpidsegmentation_type_id: SegmentationTypeIdsegment_num: u8segments_expected: u8sub_segments: Option<SubSegments>

Trait Implementations

impl Debug for SegmentationDescriptor[src]

impl Serialize for SegmentationDescriptor[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.