Struct aws_sdk_mediaconvert::types::AllowedRenditionSize
source · #[non_exhaustive]pub struct AllowedRenditionSize {
pub height: Option<i32>,
pub required: Option<RequiredFlag>,
pub width: Option<i32>,
}
Expand description
Use Allowed renditions to specify a list of possible resolutions in your ABR stack. * MediaConvert will create an ABR stack exclusively from the list of resolutions that you specify. * Some resolutions in the Allowed renditions list may not be included, however you can force a resolution to be included by setting Required to ENABLED. * You must specify at least one resolution that is greater than or equal to any resolutions that you specify in Min top rendition size or Min bottom rendition size. * If you specify Allowed renditions, you must not specify a separate rule for Force include renditions.
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.height: Option<i32>
Use Height to define the video resolution height, in pixels, for this rule.
required: Option<RequiredFlag>
Set to ENABLED to force a rendition to be included.
width: Option<i32>
Use Width to define the video resolution width, in pixels, for this rule.
Implementations§
source§impl AllowedRenditionSize
impl AllowedRenditionSize
source§impl AllowedRenditionSize
impl AllowedRenditionSize
sourcepub fn builder() -> AllowedRenditionSizeBuilder
pub fn builder() -> AllowedRenditionSizeBuilder
Creates a new builder-style object to manufacture AllowedRenditionSize
.
Trait Implementations§
source§impl Clone for AllowedRenditionSize
impl Clone for AllowedRenditionSize
source§fn clone(&self) -> AllowedRenditionSize
fn clone(&self) -> AllowedRenditionSize
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AllowedRenditionSize
impl Debug for AllowedRenditionSize
source§impl PartialEq for AllowedRenditionSize
impl PartialEq for AllowedRenditionSize
source§fn eq(&self, other: &AllowedRenditionSize) -> bool
fn eq(&self, other: &AllowedRenditionSize) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AllowedRenditionSize
Auto Trait Implementations§
impl Freeze for AllowedRenditionSize
impl RefUnwindSafe for AllowedRenditionSize
impl Send for AllowedRenditionSize
impl Sync for AllowedRenditionSize
impl Unpin for AllowedRenditionSize
impl UnwindSafe for AllowedRenditionSize
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