pub struct WriteFile {
pub path: String,
pub content: String,
pub permissions: String,
pub owner: String,
}Expand description
File to write during cloud-init.
Fields§
§path: StringAbsolute file path.
content: StringFile content.
permissions: StringFile permissions (octal string, e.g., “0644”).
owner: StringFile owner (e.g., “root:root”).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WriteFile
impl RefUnwindSafe for WriteFile
impl Send for WriteFile
impl Sync for WriteFile
impl Unpin for WriteFile
impl UnwindSafe for WriteFile
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)