Struct aws_sdk_ivs::types::RenditionConfiguration
source · #[non_exhaustive]pub struct RenditionConfiguration {
pub rendition_selection: Option<RenditionConfigurationRenditionSelection>,
pub renditions: Option<Vec<RenditionConfigurationRendition>>,
}
Expand description
Object that describes which renditions should be recorded for a 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.rendition_selection: Option<RenditionConfigurationRenditionSelection>
Indicates which set of renditions are recorded for a stream. For BASIC
channels, the CUSTOM
value has no effect. If CUSTOM
is specified, a set of renditions must be specified in the renditions
field. Default: ALL
.
renditions: Option<Vec<RenditionConfigurationRendition>>
Indicates which renditions are recorded for a stream, if renditionSelection
is CUSTOM
; otherwise, this field is irrelevant. The selected renditions are recorded if they are available during the stream. If a selected rendition is unavailable, the best available rendition is recorded. For details on the resolution dimensions of each rendition, see Auto-Record to Amazon S3.
Implementations§
source§impl RenditionConfiguration
impl RenditionConfiguration
sourcepub fn rendition_selection(
&self
) -> Option<&RenditionConfigurationRenditionSelection>
pub fn rendition_selection( &self ) -> Option<&RenditionConfigurationRenditionSelection>
Indicates which set of renditions are recorded for a stream. For BASIC
channels, the CUSTOM
value has no effect. If CUSTOM
is specified, a set of renditions must be specified in the renditions
field. Default: ALL
.
sourcepub fn renditions(&self) -> &[RenditionConfigurationRendition]
pub fn renditions(&self) -> &[RenditionConfigurationRendition]
Indicates which renditions are recorded for a stream, if renditionSelection
is CUSTOM
; otherwise, this field is irrelevant. The selected renditions are recorded if they are available during the stream. If a selected rendition is unavailable, the best available rendition is recorded. For details on the resolution dimensions of each rendition, see Auto-Record to Amazon S3.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .renditions.is_none()
.
source§impl RenditionConfiguration
impl RenditionConfiguration
sourcepub fn builder() -> RenditionConfigurationBuilder
pub fn builder() -> RenditionConfigurationBuilder
Creates a new builder-style object to manufacture RenditionConfiguration
.
Trait Implementations§
source§impl Clone for RenditionConfiguration
impl Clone for RenditionConfiguration
source§fn clone(&self) -> RenditionConfiguration
fn clone(&self) -> RenditionConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RenditionConfiguration
impl Debug for RenditionConfiguration
source§impl PartialEq for RenditionConfiguration
impl PartialEq for RenditionConfiguration
source§fn eq(&self, other: &RenditionConfiguration) -> bool
fn eq(&self, other: &RenditionConfiguration) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RenditionConfiguration
Auto Trait Implementations§
impl Freeze for RenditionConfiguration
impl RefUnwindSafe for RenditionConfiguration
impl Send for RenditionConfiguration
impl Sync for RenditionConfiguration
impl Unpin for RenditionConfiguration
impl UnwindSafe for RenditionConfiguration
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