Struct rusoto_elastictranscoder::Preset [−][src]
pub struct Preset { pub arn: Option<String>, pub audio: Option<AudioParameters>, pub container: Option<String>, pub description: Option<String>, pub id: Option<String>, pub name: Option<String>, pub thumbnails: Option<Thumbnails>, pub type_: Option<String>, pub video: Option<VideoParameters>, }
Presets are templates that contain most of the settings for transcoding media files from one format to another. Elastic Transcoder includes some default presets for common formats, for example, several iPod and iPhone versions. You can also create your own presets for formats that aren't included among the default presets. You specify which preset you want to use when you create a job.
Fields
arn: Option<String>
The Amazon Resource Name (ARN) for the preset.
audio: Option<AudioParameters>
A section of the response body that provides information about the audio preset values.
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
.
description: Option<String>
A description of the preset.
id: Option<String>
Identifier for the new preset. You use this value to get settings for the preset or to delete it.
name: Option<String>
The name of the preset.
thumbnails: Option<Thumbnails>
A section of the response body that provides information about the thumbnail preset values, if any.
type_: Option<String>
Whether the preset is a default preset provided by Elastic Transcoder (System
) or a preset that you have defined (Custom
).
video: Option<VideoParameters>
A section of the response body that provides information about the video preset values.
Trait Implementations
impl Default for Preset
[src]
impl Default for Preset
impl Debug for Preset
[src]
impl Debug for Preset
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for Preset
[src]
impl Clone for Preset
fn clone(&self) -> Preset
[src]
fn clone(&self) -> Preset
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl PartialEq for Preset
[src]
impl PartialEq for Preset