pub struct Scte35SegmentationDescriptor {
pub delivery_restrictions: Option<Scte35DeliveryRestrictions>,
pub segment_num: Option<i64>,
pub segmentation_cancel_indicator: String,
pub segmentation_duration: Option<i64>,
pub segmentation_event_id: i64,
pub segmentation_type_id: Option<i64>,
pub segmentation_upid: Option<String>,
pub segmentation_upid_type: Option<i64>,
pub segments_expected: Option<i64>,
pub sub_segment_num: Option<i64>,
pub sub_segments_expected: Option<i64>,
}
Expand description
Corresponds to SCTE-35 segmentation_descriptor.
Fields
delivery_restrictions: Option<Scte35DeliveryRestrictions>
Holds the four SCTE-35 delivery restriction parameters.
segment_num: Option<i64>
Corresponds to SCTE-35 segmentnum. A value that is valid for the specified segmentationtype_id.
segmentation_cancel_indicator: String
Corresponds to SCTE-35 segmentationeventcancel_indicator.
segmentation_duration: Option<i64>
Corresponds to SCTE-35 segmentationduration. Optional. The duration for the timesignal, in 90 KHz ticks. To convert seconds to ticks, multiple the seconds by 90,000. Enter time in 90 KHz clock ticks. If you do not enter a duration, the time_signal will continue until you insert a cancellation message.
segmentation_event_id: i64
Corresponds to SCTE-35 segmentationeventid.
segmentation_type_id: Option<i64>
Corresponds to SCTE-35 segmentationtypeid. One of the segmentationtypeid values listed in the SCTE-35 specification. On the console, enter the ID in decimal (for example, "52"). In the CLI, API, or an SDK, enter the ID in hex (for example, "0x34") or decimal (for example, "52").
segmentation_upid: Option<String>
Corresponds to SCTE-35 segmentationupid. Enter a string containing the hexadecimal representation of the characters that make up the SCTE-35 segmentationupid value. Must contain an even number of hex characters. Do not include spaces between each hex pair. For example, the ASCII "ADS Information" becomes hex "41445320496e666f726d6174696f6e.
segmentation_upid_type: Option<i64>
Corresponds to SCTE-35 segmentationupidtype. On the console, enter one of the types listed in the SCTE-35 specification, converted to a decimal. For example, "0x0C" hex from the specification is "12" in decimal. In the CLI, API, or an SDK, enter one of the types listed in the SCTE-35 specification, in either hex (for example, "0x0C" ) or in decimal (for example, "12").
segments_expected: Option<i64>
Corresponds to SCTE-35 segmentsexpected. A value that is valid for the specified segmentationtype_id.
sub_segment_num: Option<i64>
Corresponds to SCTE-35 subsegmentnum. A value that is valid for the specified segmentationtypeid.
sub_segments_expected: Option<i64>
Corresponds to SCTE-35 subsegmentsexpected. A value that is valid for the specified segmentationtypeid.
Trait Implementations
sourceimpl Clone for Scte35SegmentationDescriptor
impl Clone for Scte35SegmentationDescriptor
sourcefn clone(&self) -> Scte35SegmentationDescriptor
fn clone(&self) -> Scte35SegmentationDescriptor
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for Scte35SegmentationDescriptor
impl Debug for Scte35SegmentationDescriptor
sourceimpl Default for Scte35SegmentationDescriptor
impl Default for Scte35SegmentationDescriptor
sourcefn default() -> Scte35SegmentationDescriptor
fn default() -> Scte35SegmentationDescriptor
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for Scte35SegmentationDescriptor
impl<'de> Deserialize<'de> for Scte35SegmentationDescriptor
sourcefn 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
sourceimpl PartialEq<Scte35SegmentationDescriptor> for Scte35SegmentationDescriptor
impl PartialEq<Scte35SegmentationDescriptor> for Scte35SegmentationDescriptor
sourcefn eq(&self, other: &Scte35SegmentationDescriptor) -> bool
fn eq(&self, other: &Scte35SegmentationDescriptor) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &Scte35SegmentationDescriptor) -> bool
fn ne(&self, other: &Scte35SegmentationDescriptor) -> bool
This method tests for !=
.
impl StructuralPartialEq for Scte35SegmentationDescriptor
Auto Trait Implementations
impl RefUnwindSafe for Scte35SegmentationDescriptor
impl Send for Scte35SegmentationDescriptor
impl Sync for Scte35SegmentationDescriptor
impl Unpin for Scte35SegmentationDescriptor
impl UnwindSafe for Scte35SegmentationDescriptor
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more