Struct stager::builder::SourceFile [] [src]

pub struct SourceFile {
    pub path: PathBuf,
    pub rename: Option<String>,
    pub access: Vec<Access>,
    pub symlink: Vec<String>,
}

Specifies a file to be staged into the target directory.

Fields

Specifies the full path of the file to be copied into the target directory

Specifies the name the target file should be renamed as when copying from the source file. Default is the filename of the source file.

Specifies symbolic links to rename in the same target directory and using the same access.

Trait Implementations

impl Clone for SourceFile
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for SourceFile
[src]

[src]

Formats the value using the given formatter. Read more

impl ActionBuilder for SourceFile
[src]

[src]

Auto Trait Implementations

impl Send for SourceFile

impl Sync for SourceFile