#[non_exhaustive]pub struct CreatePresetOutput {
pub preset: Option<Preset>,
pub warning: Option<String>,
/* private fields */
}
Expand description
The CreatePresetResponse
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.preset: Option<Preset>
A section of the response body that provides information about the preset that is created.
warning: Option<String>
If the preset settings don't comply with the standards for the video codec but Elastic Transcoder created the preset, this message explains the reason the preset settings don't meet the standard. Elastic Transcoder created the preset because the settings might produce acceptable output.
Implementations§
source§impl CreatePresetOutput
impl CreatePresetOutput
sourcepub fn preset(&self) -> Option<&Preset>
pub fn preset(&self) -> Option<&Preset>
A section of the response body that provides information about the preset that is created.
sourcepub fn warning(&self) -> Option<&str>
pub fn warning(&self) -> Option<&str>
If the preset settings don't comply with the standards for the video codec but Elastic Transcoder created the preset, this message explains the reason the preset settings don't meet the standard. Elastic Transcoder created the preset because the settings might produce acceptable output.
source§impl CreatePresetOutput
impl CreatePresetOutput
sourcepub fn builder() -> CreatePresetOutputBuilder
pub fn builder() -> CreatePresetOutputBuilder
Creates a new builder-style object to manufacture CreatePresetOutput
.
Trait Implementations§
source§impl Clone for CreatePresetOutput
impl Clone for CreatePresetOutput
source§fn clone(&self) -> CreatePresetOutput
fn clone(&self) -> CreatePresetOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreatePresetOutput
impl Debug for CreatePresetOutput
source§impl PartialEq for CreatePresetOutput
impl PartialEq for CreatePresetOutput
source§fn eq(&self, other: &CreatePresetOutput) -> bool
fn eq(&self, other: &CreatePresetOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for CreatePresetOutput
impl RequestId for CreatePresetOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for CreatePresetOutput
Auto Trait Implementations§
impl Freeze for CreatePresetOutput
impl RefUnwindSafe for CreatePresetOutput
impl Send for CreatePresetOutput
impl Sync for CreatePresetOutput
impl Unpin for CreatePresetOutput
impl UnwindSafe for CreatePresetOutput
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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