logo
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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more