[][src]Struct rusoto_elastictranscoder::Preset

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 PartialEq<Preset> for Preset[src]

impl Default for Preset[src]

impl Clone for Preset[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Preset[src]

impl<'de> Deserialize<'de> for Preset[src]

Auto Trait Implementations

impl Send for Preset

impl Sync for Preset

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self