Struct aws_sdk_ivs::model::Stream[][src]

#[non_exhaustive]
pub struct Stream { pub channel_arn: Option<String>, pub stream_id: Option<String>, pub playback_url: Option<String>, pub start_time: Option<DateTime>, pub state: Option<StreamState>, pub health: Option<StreamHealth>, pub viewer_count: i64, }
Expand description

Specifies a live video stream that has been ingested and distributed.

Fields (Non-exhaustive)

This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
channel_arn: Option<String>

Channel ARN for the stream.

stream_id: Option<String>

Unique identifier for a live or previously live stream in the specified channel.

playback_url: Option<String>

URL of the master playlist, required by the video player to play the HLS stream.

start_time: Option<DateTime>

Time of the stream’s start. This is an ISO 8601 timestamp returned as a string.

state: Option<StreamState>

The stream’s state.

health: Option<StreamHealth>

The stream’s health.

viewer_count: i64

A count of concurrent views of the stream. Typically, a new view appears in viewerCount within 15 seconds of when video playback starts and a view is removed from viewerCount within 1 minute of when video playback ends. A value of -1 indicates that the request timed out; in this case, retry.

Implementations

Channel ARN for the stream.

Unique identifier for a live or previously live stream in the specified channel.

URL of the master playlist, required by the video player to play the HLS stream.

Time of the stream’s start. This is an ISO 8601 timestamp returned as a string.

The stream’s state.

The stream’s health.

A count of concurrent views of the stream. Typically, a new view appears in viewerCount within 15 seconds of when video playback starts and a view is removed from viewerCount within 1 minute of when video playback ends. A value of -1 indicates that the request timed out; in this case, retry.

Creates a new builder-style object to manufacture Stream

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

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

This method tests for !=.

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.

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