pub struct DirSpec {
pub dest: String,
pub mode: Option<u32>,
}Expand description
A payload directory declared explicitly, to give it a mode or to ship it
with nothing under it. Directories only implied by file dests are 0o755.
Fields§
§dest: String§mode: Option<u32>Permission bits (0o000-0o777); None means 0o755.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DirSpec
impl RefUnwindSafe for DirSpec
impl Send for DirSpec
impl Sync for DirSpec
impl Unpin for DirSpec
impl UnsafeUnpin for DirSpec
impl UnwindSafe for DirSpec
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