pub struct FileSpec {
pub src: PathBuf,
pub dest: String,
pub mode: Option<u32>,
}Expand description
A payload file: src on disk (already resolved to a real path), dest
the /-separated path relative to the install location.
Fields§
§src: PathBuf§dest: String§mode: Option<u32>Permission bits (0o000-0o777). None installs 0o755 if the
source is executable, else 0o644.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FileSpec
impl RefUnwindSafe for FileSpec
impl Send for FileSpec
impl Sync for FileSpec
impl Unpin for FileSpec
impl UnsafeUnpin for FileSpec
impl UnwindSafe for FileSpec
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more