#[non_exhaustive]pub struct JobConfig {
pub inputs: Vec<Input>,
pub edit_list: Vec<EditAtom>,
pub elementary_streams: Vec<ElementaryStream>,
pub mux_streams: Vec<MuxStream>,
pub manifests: Vec<Manifest>,
pub output: Option<Output>,
pub ad_breaks: Vec<AdBreak>,
pub pubsub_destination: Option<PubsubDestination>,
pub sprite_sheets: Vec<SpriteSheet>,
pub overlays: Vec<Overlay>,
pub encryptions: Vec<Encryption>,
/* private fields */
}
Expand description
Job configuration
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.inputs: Vec<Input>
List of input assets stored in Cloud Storage.
edit_list: Vec<EditAtom>
List of edit atoms. Defines the ultimate timeline of the resulting file or manifest.
elementary_streams: Vec<ElementaryStream>
List of elementary streams.
mux_streams: Vec<MuxStream>
List of multiplexing settings for output streams.
manifests: Vec<Manifest>
List of output manifests.
output: Option<Output>
Output configuration.
ad_breaks: Vec<AdBreak>
List of ad breaks. Specifies where to insert ad break tags in the output manifests.
pubsub_destination: Option<PubsubDestination>
Destination on Pub/Sub.
sprite_sheets: Vec<SpriteSheet>
List of output sprite sheets. Spritesheets require at least one VideoStream in the Jobconfig.
overlays: Vec<Overlay>
List of overlays on the output video, in descending Z-order.
encryptions: Vec<Encryption>
List of encryption configurations for the content.
Each configuration has an ID. Specify this ID in the
MuxStream.encryption_id
field to indicate the configuration to use for that MuxStream
output.
Implementations§
Source§impl JobConfig
impl JobConfig
pub fn new() -> Self
Sourcepub fn set_inputs<T, V>(self, v: T) -> Self
pub fn set_inputs<T, V>(self, v: T) -> Self
Sets the value of inputs.
Sourcepub fn set_edit_list<T, V>(self, v: T) -> Self
pub fn set_edit_list<T, V>(self, v: T) -> Self
Sets the value of edit_list.
Sourcepub fn set_elementary_streams<T, V>(self, v: T) -> Self
pub fn set_elementary_streams<T, V>(self, v: T) -> Self
Sets the value of elementary_streams.
Sourcepub fn set_mux_streams<T, V>(self, v: T) -> Self
pub fn set_mux_streams<T, V>(self, v: T) -> Self
Sets the value of mux_streams.
Sourcepub fn set_manifests<T, V>(self, v: T) -> Self
pub fn set_manifests<T, V>(self, v: T) -> Self
Sets the value of manifests.
Sourcepub fn set_output<T>(self, v: T) -> Self
pub fn set_output<T>(self, v: T) -> Self
Sets the value of output.
Sourcepub fn set_or_clear_output<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_output<T>(self, v: Option<T>) -> Self
Sets or clears the value of output.
Sourcepub fn set_ad_breaks<T, V>(self, v: T) -> Self
pub fn set_ad_breaks<T, V>(self, v: T) -> Self
Sets the value of ad_breaks.
Sourcepub fn set_pubsub_destination<T>(self, v: T) -> Selfwhere
T: Into<PubsubDestination>,
pub fn set_pubsub_destination<T>(self, v: T) -> Selfwhere
T: Into<PubsubDestination>,
Sets the value of pubsub_destination.
Sourcepub fn set_or_clear_pubsub_destination<T>(self, v: Option<T>) -> Selfwhere
T: Into<PubsubDestination>,
pub fn set_or_clear_pubsub_destination<T>(self, v: Option<T>) -> Selfwhere
T: Into<PubsubDestination>,
Sets or clears the value of pubsub_destination.
Sourcepub fn set_sprite_sheets<T, V>(self, v: T) -> Self
pub fn set_sprite_sheets<T, V>(self, v: T) -> Self
Sets the value of sprite_sheets.
Sourcepub fn set_overlays<T, V>(self, v: T) -> Self
pub fn set_overlays<T, V>(self, v: T) -> Self
Sets the value of overlays.
Sourcepub fn set_encryptions<T, V>(self, v: T) -> Self
pub fn set_encryptions<T, V>(self, v: T) -> Self
Sets the value of encryptions.