pub struct SecretMount {
pub source: PathBuf,
pub dest: PathBuf,
pub mode: u32,
}Expand description
Secrets configuration for mounting secret files into the container.
Fields§
§source: PathBufSource path on the host (or Nix store path).
dest: PathBufDestination path inside the container.
mode: u32File mode (default: 0o400, read-only by owner).
Trait Implementations§
Source§impl Clone for SecretMount
impl Clone for SecretMount
Source§fn clone(&self) -> SecretMount
fn clone(&self) -> SecretMount
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SecretMount
impl RefUnwindSafe for SecretMount
impl Send for SecretMount
impl Sync for SecretMount
impl Unpin for SecretMount
impl UnsafeUnpin for SecretMount
impl UnwindSafe for SecretMount
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