pub struct JobAlbumArt {
pub artwork: Option<Vec<Artwork>>,
pub merge_policy: Option<String>,
}Expand description
The .jpg or .png file associated with an audio file.
Fields§
§artwork: Option<Vec<Artwork>>The file to be used as album art. There can be multiple artworks associated with an audio file, to a maximum of 20. Valid formats are .jpg and .png
merge_policy: Option<String>A policy that determines how Elastic Transcoder handles the existence of multiple album artwork files.
-
Replace:The specified album art replaces any existing album art. -
Prepend:The specified album art is placed in front of any existing album art. -
Append:The specified album art is placed after any existing album art. -
Fallback:If the original input file contains artwork, Elastic Transcoder uses that artwork for the output. If the original input does not contain artwork, Elastic Transcoder uses the specified album art file.
Trait Implementations§
Source§impl Clone for JobAlbumArt
impl Clone for JobAlbumArt
Source§fn clone(&self) -> JobAlbumArt
fn clone(&self) -> JobAlbumArt
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for JobAlbumArt
impl Debug for JobAlbumArt
Source§impl Default for JobAlbumArt
impl Default for JobAlbumArt
Source§fn default() -> JobAlbumArt
fn default() -> JobAlbumArt
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for JobAlbumArt
impl<'de> Deserialize<'de> for JobAlbumArt
Source§fn 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
Source§impl PartialEq for JobAlbumArt
impl PartialEq for JobAlbumArt
Source§impl Serialize for JobAlbumArt
impl Serialize for JobAlbumArt
impl StructuralPartialEq for JobAlbumArt
Auto Trait Implementations§
impl Freeze for JobAlbumArt
impl RefUnwindSafe for JobAlbumArt
impl Send for JobAlbumArt
impl Sync for JobAlbumArt
impl Unpin for JobAlbumArt
impl UnwindSafe for JobAlbumArt
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