Struct mpdpopm::config::GeneralizedCommandDefn[][src]

pub struct GeneralizedCommandDefn {
    pub name: String,
    pub formal_parameters: Vec<FormalParameter>,
    pub default_after: usize,
    pub cmd: PathBuf,
    pub args: Vec<String>,
    pub update: Update,
}

Fields

name: String

Command name

formal_parameters: Vec<FormalParameter>

An ordered collection of formal parameter types

default_after: usize

Actual parameters may be defaulted after this many places

cmd: PathBuf

The command to be run; if not absolute, the PATH will be searched in an system- dependent way

args: Vec<String>

Command arguments; may include replacement parameters (like “%full-file”)

update: Update

The sort of MPD music database update that needs to take place when this command finishes

Trait Implementations

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

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

Performs the conversion.

Performs the conversion.

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.