Struct rusoto_mediaconnect::AddMediaStreamRequest[][src]

pub struct AddMediaStreamRequest {
    pub attributes: Option<MediaStreamAttributesRequest>,
    pub clock_rate: Option<i64>,
    pub description: Option<String>,
    pub media_stream_id: i64,
    pub media_stream_name: String,
    pub media_stream_type: String,
    pub video_format: Option<String>,
}
Expand description

The media stream that you want to add to the flow.

Fields

attributes: Option<MediaStreamAttributesRequest>

The attributes that you want to assign to the new media stream.

clock_rate: Option<i64>

The sample rate (in Hz) for the stream. If the media stream type is video or ancillary data, set this value to 90000. If the media stream type is audio, set this value to either 48000 or 96000.

description: Option<String>

A description that can help you quickly identify what your media stream is used for.

media_stream_id: i64

A unique identifier for the media stream.

media_stream_name: String

A name that helps you distinguish one media stream from another.

media_stream_type: String

The type of media stream.

video_format: Option<String>

The resolution of the video.

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

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

Performs the conversion.

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

Performs the conversion.

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)

recently added

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.