pub struct VmFile {
pub name: String,
pub content: String,
pub mode: u32,
}Expand description
A file to inject into the guest (config or secret).
Fields§
§name: StringFilename inside the guest.
content: StringFile contents (inline).
mode: u32Unix permissions (octal). Config: 0o444, secrets: 0o400.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for VmFile
impl RefUnwindSafe for VmFile
impl Send for VmFile
impl Sync for VmFile
impl Unpin for VmFile
impl UnsafeUnpin for VmFile
impl UnwindSafe for VmFile
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