pub struct ContainerWithFilesOpts<'a> {
pub expand: Option<bool>,
pub owner: Option<&'a str>,
pub permissions: Option<isize>,
}
Fields§
§expand: Option<bool>
Replace “${VAR}” or “$VAR” in the value of path according to the current environment variables defined in the container (e.g. “/$VAR/foo.txt”).
owner: Option<&'a str>
A user:group to set for the files. The user and group can either be an ID (1000:1000) or 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 files (e.g., 0600).
Trait Implementations§
Source§impl<'a> Debug for ContainerWithFilesOpts<'a>
impl<'a> Debug for ContainerWithFilesOpts<'a>
Source§impl<'a> PartialEq for ContainerWithFilesOpts<'a>
impl<'a> PartialEq for ContainerWithFilesOpts<'a>
impl<'a> StructuralPartialEq for ContainerWithFilesOpts<'a>
Auto Trait Implementations§
impl<'a> Freeze for ContainerWithFilesOpts<'a>
impl<'a> RefUnwindSafe for ContainerWithFilesOpts<'a>
impl<'a> Send for ContainerWithFilesOpts<'a>
impl<'a> Sync for ContainerWithFilesOpts<'a>
impl<'a> Unpin for ContainerWithFilesOpts<'a>
impl<'a> UnwindSafe for ContainerWithFilesOpts<'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