Struct rusoto_elastictranscoder::Preset
source · [−]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>,
}
Expand description
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
sourceimpl<'de> Deserialize<'de> for Preset
impl<'de> Deserialize<'de> for Preset
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Preset
Auto Trait Implementations
impl RefUnwindSafe for Preset
impl Send for Preset
impl Sync for Preset
impl Unpin for Preset
impl UnwindSafe for Preset
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more