Struct aws_sdk_mediaconvert::types::AiffSettings
source · #[non_exhaustive]pub struct AiffSettings {
pub bit_depth: Option<i32>,
pub channels: Option<i32>,
pub sample_rate: Option<i32>,
}
Expand description
Required when you set Codec to the value AIFF.
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.bit_depth: Option<i32>
Specify Bit depth, in bits per sample, to choose the encoding quality for this audio track.
channels: Option<i32>
Specify the number of channels in this output audio track. Valid values are 1 and even numbers up to 64. For example, 1, 2, 4, 6, and so on, up to 64.
sample_rate: Option<i32>
Sample rate in Hz.
Implementations§
source§impl AiffSettings
impl AiffSettings
sourcepub fn bit_depth(&self) -> Option<i32>
pub fn bit_depth(&self) -> Option<i32>
Specify Bit depth, in bits per sample, to choose the encoding quality for this audio track.
sourcepub fn channels(&self) -> Option<i32>
pub fn channels(&self) -> Option<i32>
Specify the number of channels in this output audio track. Valid values are 1 and even numbers up to 64. For example, 1, 2, 4, 6, and so on, up to 64.
sourcepub fn sample_rate(&self) -> Option<i32>
pub fn sample_rate(&self) -> Option<i32>
Sample rate in Hz.
source§impl AiffSettings
impl AiffSettings
sourcepub fn builder() -> AiffSettingsBuilder
pub fn builder() -> AiffSettingsBuilder
Creates a new builder-style object to manufacture AiffSettings
.
Trait Implementations§
source§impl Clone for AiffSettings
impl Clone for AiffSettings
source§fn clone(&self) -> AiffSettings
fn clone(&self) -> AiffSettings
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AiffSettings
impl Debug for AiffSettings
source§impl PartialEq for AiffSettings
impl PartialEq for AiffSettings
source§fn eq(&self, other: &AiffSettings) -> bool
fn eq(&self, other: &AiffSettings) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AiffSettings
Auto Trait Implementations§
impl Freeze for AiffSettings
impl RefUnwindSafe for AiffSettings
impl Send for AiffSettings
impl Sync for AiffSettings
impl Unpin for AiffSettings
impl UnwindSafe for AiffSettings
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.