pub struct ContainerWithMountedFileOpts<'a> {
pub expand: Option<bool>,
pub owner: Option<&'a str>,
}
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 or user:group to set for the mounted file. 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.
Trait Implementations§
Source§impl<'a> Debug for ContainerWithMountedFileOpts<'a>
impl<'a> Debug for ContainerWithMountedFileOpts<'a>
Source§impl<'a> PartialEq for ContainerWithMountedFileOpts<'a>
impl<'a> PartialEq for ContainerWithMountedFileOpts<'a>
Source§fn eq(&self, other: &ContainerWithMountedFileOpts<'a>) -> bool
fn eq(&self, other: &ContainerWithMountedFileOpts<'a>) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl<'a> StructuralPartialEq for ContainerWithMountedFileOpts<'a>
Auto Trait Implementations§
impl<'a> Freeze for ContainerWithMountedFileOpts<'a>
impl<'a> RefUnwindSafe for ContainerWithMountedFileOpts<'a>
impl<'a> Send for ContainerWithMountedFileOpts<'a>
impl<'a> Sync for ContainerWithMountedFileOpts<'a>
impl<'a> Unpin for ContainerWithMountedFileOpts<'a>
impl<'a> UnwindSafe for ContainerWithMountedFileOpts<'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