pub struct SetPicture {
    pub no_backup: bool,
    pub mime_type: Option<String>,
    pub description: Option<String>,
    pub target_audio: PathBuf,
    pub target_picture: PathBuf,
    pub picture_type: PictureType,
}
Expand description

CLI arguments of set comment.

Fields

no_backup: bool

Don’t create backup for the target audio file.

mime_type: Option<String>

Mime type of the picture.

description: Option<String>

Description of the picture.

target_audio: PathBuf

Path to the target audio file.

target_picture: PathBuf

Path to the input picture file.

picture_type: PictureType

Type of picture.

Trait Implementations

Append to Command so it can instantiate Self. Read more

Append to Command so it can update self. Read more

Formats the value using the given formatter. Read more

Instantiate Self from ArgMatches, parsing the arguments as needed. Read more

Instantiate Self from ArgMatches, parsing the arguments as needed. Read more

Assign values from ArgMatches to self.

Assign values from ArgMatches to self.

Run the application or subcommand.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Apply f to self. Read more

Apply f to &self. Read more

Apply f to &mut self. Read more

Apply f to &self where f takes a single parameter of type Param and Self implements trait AsRef<Param>. Read more

Apply f to &mut self where f takes a single parameter of type Param and Self implements trait AsMut<Param>. Read more

Apply f to &self where f takes a single parameter of type Param and Self implements trait Deref<Target = Param>. Read more

Apply f to &mut self where f takes a single parameter of type Param and Self implements trait [DerefMut<Target = Param>]. Read more

Apply f to &self where f takes a single parameter of type Param and Self implements trait Borrow<Param>. Read more

Apply f to &mut self where f takes a single parameter of type Param and Self implements trait BorrowMut<Param>. Read more

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.