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
path: PathBuf
Specifies the full path of the file to be copied into the target directory
rename: Option<String>
Specifies the name the target file should be renamed as when copying from the source file. Default is the filename of the source file.
access: Vec<Access>
symlink: Vec<String>
Specifies symbolic links to rename
in the same target directory and using the same
access
.
Trait Implementations
impl Clone for SourceFile
[src]
fn clone(&self) -> SourceFile
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for SourceFile
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more