#[non_exhaustive]pub struct CreatePresetInput {
pub name: Option<String>,
pub description: Option<String>,
pub container: Option<String>,
pub video: Option<VideoParameters>,
pub audio: Option<AudioParameters>,
pub thumbnails: Option<Thumbnails>,
}
Expand description
The CreatePresetRequest
structure.
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.name: Option<String>
The name of the preset. We recommend that the name be unique within the AWS account, but uniqueness is not enforced.
description: Option<String>
A description of the preset.
container: Option<String>
The container type for the output file. Valid values include flac
, flv
, fmp4
, gif
, mp3
, mp4
, mpg
, mxf
, oga
, ogg
, ts
, and webm
.
video: Option<VideoParameters>
A section of the request body that specifies the video parameters.
audio: Option<AudioParameters>
A section of the request body that specifies the audio parameters.
thumbnails: Option<Thumbnails>
A section of the request body that specifies the thumbnail parameters, if any.
Implementations§
source§impl CreatePresetInput
impl CreatePresetInput
sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
The name of the preset. We recommend that the name be unique within the AWS account, but uniqueness is not enforced.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description of the preset.
sourcepub fn container(&self) -> Option<&str>
pub fn container(&self) -> Option<&str>
The container type for the output file. Valid values include flac
, flv
, fmp4
, gif
, mp3
, mp4
, mpg
, mxf
, oga
, ogg
, ts
, and webm
.
sourcepub fn video(&self) -> Option<&VideoParameters>
pub fn video(&self) -> Option<&VideoParameters>
A section of the request body that specifies the video parameters.
sourcepub fn audio(&self) -> Option<&AudioParameters>
pub fn audio(&self) -> Option<&AudioParameters>
A section of the request body that specifies the audio parameters.
sourcepub fn thumbnails(&self) -> Option<&Thumbnails>
pub fn thumbnails(&self) -> Option<&Thumbnails>
A section of the request body that specifies the thumbnail parameters, if any.
source§impl CreatePresetInput
impl CreatePresetInput
sourcepub fn builder() -> CreatePresetInputBuilder
pub fn builder() -> CreatePresetInputBuilder
Creates a new builder-style object to manufacture CreatePresetInput
.
Trait Implementations§
source§impl Clone for CreatePresetInput
impl Clone for CreatePresetInput
source§fn clone(&self) -> CreatePresetInput
fn clone(&self) -> CreatePresetInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreatePresetInput
impl Debug for CreatePresetInput
source§impl PartialEq for CreatePresetInput
impl PartialEq for CreatePresetInput
source§fn eq(&self, other: &CreatePresetInput) -> bool
fn eq(&self, other: &CreatePresetInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreatePresetInput
Auto Trait Implementations§
impl Freeze for CreatePresetInput
impl RefUnwindSafe for CreatePresetInput
impl Send for CreatePresetInput
impl Sync for CreatePresetInput
impl Unpin for CreatePresetInput
impl UnwindSafe for CreatePresetInput
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