pub struct SegmentationDescriptor {Show 13 fields
pub xmlns: Option<String>,
pub segmentation_event_id: Option<u32>,
pub segmentation_event_cancel_indicator: Option<bool>,
pub splice_event_id: Option<u64>,
pub segmentation_type_id: Option<u8>,
pub segmentation_duration: Option<u64>,
pub segmentation_upid_type: Option<u8>,
pub segmentation_upid: Option<u64>,
pub segment_num: Option<u8>,
pub segments_expected: Option<u8>,
pub sub_segment_num: Option<u8>,
pub sub_segments_expected: Option<u8>,
pub segmentation_upids: Vec<SegmentationUpid>,
}
Fields§
§xmlns: Option<String>
§segmentation_event_id: Option<u32>
§segmentation_event_cancel_indicator: Option<bool>
§splice_event_id: Option<u64>
§segmentation_type_id: Option<u8>
§segmentation_duration: Option<u64>
§segmentation_upid_type: Option<u8>
§segmentation_upid: Option<u64>
§segment_num: Option<u8>
§segments_expected: Option<u8>
§sub_segment_num: Option<u8>
§sub_segments_expected: Option<u8>
§segmentation_upids: Vec<SegmentationUpid>
Trait Implementations§
Source§impl Clone for SegmentationDescriptor
impl Clone for SegmentationDescriptor
Source§fn clone(&self) -> SegmentationDescriptor
fn clone(&self) -> SegmentationDescriptor
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SegmentationDescriptor
impl Debug for SegmentationDescriptor
Source§impl Default for SegmentationDescriptor
impl Default for SegmentationDescriptor
Source§fn default() -> SegmentationDescriptor
fn default() -> SegmentationDescriptor
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SegmentationDescriptorwhere
SegmentationDescriptor: Default,
impl<'de> Deserialize<'de> for SegmentationDescriptorwhere
SegmentationDescriptor: Default,
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
Source§impl PartialEq for SegmentationDescriptor
impl PartialEq for SegmentationDescriptor
Source§impl Serialize for SegmentationDescriptor
impl Serialize for SegmentationDescriptor
impl StructuralPartialEq for SegmentationDescriptor
Auto Trait Implementations§
impl Freeze for SegmentationDescriptor
impl RefUnwindSafe for SegmentationDescriptor
impl Send for SegmentationDescriptor
impl Sync for SegmentationDescriptor
impl Unpin for SegmentationDescriptor
impl UnwindSafe for SegmentationDescriptor
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more