pub struct DirectoryWithFileOpts<'a> {
pub owner: Option<&'a str>,
pub permissions: Option<isize>,
}
Fields§
§owner: Option<&'a str>
A user:group to set for the copied directory and its contents. The user and group must be an ID (1000:1000), not a name (foo:bar). If the group is omitted, it defaults to the same as the user.
permissions: Option<isize>
Permission given to the copied file (e.g., 0600).
Trait Implementations§
Source§impl<'a> Debug for DirectoryWithFileOpts<'a>
impl<'a> Debug for DirectoryWithFileOpts<'a>
Source§impl<'a> PartialEq for DirectoryWithFileOpts<'a>
impl<'a> PartialEq for DirectoryWithFileOpts<'a>
impl<'a> StructuralPartialEq for DirectoryWithFileOpts<'a>
Auto Trait Implementations§
impl<'a> Freeze for DirectoryWithFileOpts<'a>
impl<'a> RefUnwindSafe for DirectoryWithFileOpts<'a>
impl<'a> Send for DirectoryWithFileOpts<'a>
impl<'a> Sync for DirectoryWithFileOpts<'a>
impl<'a> Unpin for DirectoryWithFileOpts<'a>
impl<'a> UnwindSafe for DirectoryWithFileOpts<'a>
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