Struct shell_rs::mkdir::Options[][src]

pub struct Options {
    pub parents: bool,
    pub mode: mode_t,
    pub exist_ok: bool,
    pub expand_env: bool,
}

Fields

parents: bool

No error if existing, make parent directories as needed. Just like mkdir -p command.

mode: mode_t

Set file mode (as in chmod), not a=rwx - umask.

exist_ok: bool

No error if existing.

expand_env: bool

Implementations

Trait Implementations

Formats the value using the given formatter. Read more

Returns the “default value” for a type. 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.

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.