Struct aws_sdk_mediaconvert::types::PresetSettings
source · #[non_exhaustive]pub struct PresetSettings {
pub audio_descriptions: Option<Vec<AudioDescription>>,
pub caption_descriptions: Option<Vec<CaptionDescriptionPreset>>,
pub container_settings: Option<ContainerSettings>,
pub video_description: Option<VideoDescription>,
}
Expand description
Settings for preset
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.audio_descriptions: Option<Vec<AudioDescription>>
Contains groups of audio encoding settings organized by audio codec. Include one instance of per output. Can contain multiple groups of encoding settings.
This object holds groups of settings related to captions for one output. For each output that has captions, include one instance of CaptionDescriptions.
container_settings: Option<ContainerSettings>
Container specific settings.
video_description: Option<VideoDescription>
VideoDescription contains a group of video encoding settings. The specific video settings depend on the video codec that you choose for the property codec. Include one instance of VideoDescription per output.
Implementations§
source§impl PresetSettings
impl PresetSettings
sourcepub fn audio_descriptions(&self) -> &[AudioDescription]
pub fn audio_descriptions(&self) -> &[AudioDescription]
Contains groups of audio encoding settings organized by audio codec. Include one instance of per output. Can contain multiple groups of encoding settings.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .audio_descriptions.is_none()
.
This object holds groups of settings related to captions for one output. For each output that has captions, include one instance of CaptionDescriptions.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .caption_descriptions.is_none()
.
sourcepub fn container_settings(&self) -> Option<&ContainerSettings>
pub fn container_settings(&self) -> Option<&ContainerSettings>
Container specific settings.
sourcepub fn video_description(&self) -> Option<&VideoDescription>
pub fn video_description(&self) -> Option<&VideoDescription>
VideoDescription contains a group of video encoding settings. The specific video settings depend on the video codec that you choose for the property codec. Include one instance of VideoDescription per output.
source§impl PresetSettings
impl PresetSettings
sourcepub fn builder() -> PresetSettingsBuilder
pub fn builder() -> PresetSettingsBuilder
Creates a new builder-style object to manufacture PresetSettings
.
Trait Implementations§
source§impl Clone for PresetSettings
impl Clone for PresetSettings
source§fn clone(&self) -> PresetSettings
fn clone(&self) -> PresetSettings
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PresetSettings
impl Debug for PresetSettings
source§impl PartialEq for PresetSettings
impl PartialEq for PresetSettings
source§fn eq(&self, other: &PresetSettings) -> bool
fn eq(&self, other: &PresetSettings) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PresetSettings
Auto Trait Implementations§
impl Freeze for PresetSettings
impl RefUnwindSafe for PresetSettings
impl Send for PresetSettings
impl Sync for PresetSettings
impl Unpin for PresetSettings
impl UnwindSafe for PresetSettings
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