#[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<CreatePresetOutput> for CreatePresetOutput
impl PartialEq<CreatePresetOutput> 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.