Struct aws_sdk_mediaconnect::operation::update_flow_media_stream::UpdateFlowMediaStreamInput
source · #[non_exhaustive]pub struct UpdateFlowMediaStreamInput {
pub attributes: Option<MediaStreamAttributesRequest>,
pub clock_rate: Option<i32>,
pub description: Option<String>,
pub flow_arn: Option<String>,
pub media_stream_name: Option<String>,
pub media_stream_type: Option<MediaStreamType>,
pub video_format: Option<String>,
}
Expand description
The fields that you want to update in the media stream.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.attributes: Option<MediaStreamAttributesRequest>
The attributes that you want to assign to the media stream.
clock_rate: Option<i32>
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>
Description
flow_arn: Option<String>
The Amazon Resource Name (ARN) of the flow.
media_stream_name: Option<String>
The name of the media stream that you want to update.
media_stream_type: Option<MediaStreamType>
The type of media stream.
video_format: Option<String>
The resolution of the video.
Implementations§
source§impl UpdateFlowMediaStreamInput
impl UpdateFlowMediaStreamInput
sourcepub fn attributes(&self) -> Option<&MediaStreamAttributesRequest>
pub fn attributes(&self) -> Option<&MediaStreamAttributesRequest>
The attributes that you want to assign to the media stream.
sourcepub fn clock_rate(&self) -> Option<i32>
pub fn clock_rate(&self) -> Option<i32>
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.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
Description
sourcepub fn media_stream_name(&self) -> Option<&str>
pub fn media_stream_name(&self) -> Option<&str>
The name of the media stream that you want to update.
sourcepub fn media_stream_type(&self) -> Option<&MediaStreamType>
pub fn media_stream_type(&self) -> Option<&MediaStreamType>
The type of media stream.
sourcepub fn video_format(&self) -> Option<&str>
pub fn video_format(&self) -> Option<&str>
The resolution of the video.
source§impl UpdateFlowMediaStreamInput
impl UpdateFlowMediaStreamInput
sourcepub fn builder() -> UpdateFlowMediaStreamInputBuilder
pub fn builder() -> UpdateFlowMediaStreamInputBuilder
Creates a new builder-style object to manufacture UpdateFlowMediaStreamInput
.
Trait Implementations§
source§impl Clone for UpdateFlowMediaStreamInput
impl Clone for UpdateFlowMediaStreamInput
source§fn clone(&self) -> UpdateFlowMediaStreamInput
fn clone(&self) -> UpdateFlowMediaStreamInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateFlowMediaStreamInput
impl Debug for UpdateFlowMediaStreamInput
source§impl PartialEq for UpdateFlowMediaStreamInput
impl PartialEq for UpdateFlowMediaStreamInput
source§fn eq(&self, other: &UpdateFlowMediaStreamInput) -> bool
fn eq(&self, other: &UpdateFlowMediaStreamInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateFlowMediaStreamInput
Auto Trait Implementations§
impl Freeze for UpdateFlowMediaStreamInput
impl RefUnwindSafe for UpdateFlowMediaStreamInput
impl Send for UpdateFlowMediaStreamInput
impl Sync for UpdateFlowMediaStreamInput
impl Unpin for UpdateFlowMediaStreamInput
impl UnwindSafe for UpdateFlowMediaStreamInput
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
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>
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>
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