#[non_exhaustive]pub enum JobConfig {
TemplateId(String),
Config(Box<JobConfig>),
}
Expand description
Specify the config for the transcoding job. If you don’t specify the
job_config
, the API selects templateId
; this template ID is set to
preset/web-hd
by default. When you use a template_id
to create a job,
the Job.config
is populated by the JobTemplate.config
.<br>
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
TemplateId(String)
Input only. Specify the template_id
to use for populating Job.config
.
The default is preset/web-hd
, which is the only supported preset.
User defined JobTemplate: {job_template_id}
Config(Box<JobConfig>)
The configuration for this job.
Trait Implementations§
impl StructuralPartialEq for JobConfig
Auto Trait Implementations§
impl Freeze for JobConfig
impl RefUnwindSafe for JobConfig
impl Send for JobConfig
impl Sync for JobConfig
impl Unpin for JobConfig
impl UnwindSafe for JobConfig
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
Mutably borrows from an owned value. Read more