#[non_exhaustive]pub struct ForceIncludeRenditionSize {
pub height: Option<i32>,
pub width: Option<i32>,
}
Expand description
Use Force include renditions to specify one or more resolutions to include your ABR stack. * (Recommended) To optimize automated ABR, specify as few resolutions as possible. * (Required) The number of resolutions that you specify must be equal to, or less than, the Max renditions setting. * If you specify a Min top rendition size rule, specify at least one resolution that is equal to, or greater than, Min top rendition size. * If you specify a Min bottom rendition size rule, only specify resolutions that are equal to, or greater than, Min bottom rendition size. * If you specify a Force include renditions rule, do not specify a separate rule for Allowed renditions. * Note: The ABR stack may include other resolutions that you do not specify here, depending on the Max renditions setting.
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.
width: Option<i32>
Use Width to define the video resolution width, in pixels, for this rule.
Implementations§
source§impl ForceIncludeRenditionSize
impl ForceIncludeRenditionSize
sourcepub fn builder() -> ForceIncludeRenditionSizeBuilder
pub fn builder() -> ForceIncludeRenditionSizeBuilder
Creates a new builder-style object to manufacture ForceIncludeRenditionSize
.
Trait Implementations§
source§impl Clone for ForceIncludeRenditionSize
impl Clone for ForceIncludeRenditionSize
source§fn clone(&self) -> ForceIncludeRenditionSize
fn clone(&self) -> ForceIncludeRenditionSize
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ForceIncludeRenditionSize
impl Debug for ForceIncludeRenditionSize
source§impl PartialEq for ForceIncludeRenditionSize
impl PartialEq for ForceIncludeRenditionSize
source§fn eq(&self, other: &ForceIncludeRenditionSize) -> bool
fn eq(&self, other: &ForceIncludeRenditionSize) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ForceIncludeRenditionSize
Auto Trait Implementations§
impl Freeze for ForceIncludeRenditionSize
impl RefUnwindSafe for ForceIncludeRenditionSize
impl Send for ForceIncludeRenditionSize
impl Sync for ForceIncludeRenditionSize
impl Unpin for ForceIncludeRenditionSize
impl UnwindSafe for ForceIncludeRenditionSize
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