Struct dagger_sdk::ContainerWithNewFileOpts
source · pub struct ContainerWithNewFileOpts<'a> {
pub contents: Option<&'a str>,
pub permissions: Option<isize>,
}Fields§
§contents: Option<&'a str>Content of the file to write (e.g., “Hello world!”).
permissions: Option<isize>Permission given to the written file (e.g., 0600). Default: 0644.
Trait Implementations§
source§impl<'a> Debug for ContainerWithNewFileOpts<'a>
impl<'a> Debug for ContainerWithNewFileOpts<'a>
source§impl<'a> PartialEq<ContainerWithNewFileOpts<'a>> for ContainerWithNewFileOpts<'a>
impl<'a> PartialEq<ContainerWithNewFileOpts<'a>> for ContainerWithNewFileOpts<'a>
source§fn eq(&self, other: &ContainerWithNewFileOpts<'a>) -> bool
fn eq(&self, other: &ContainerWithNewFileOpts<'a>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl<'a> StructuralPartialEq for ContainerWithNewFileOpts<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for ContainerWithNewFileOpts<'a>
impl<'a> Send for ContainerWithNewFileOpts<'a>
impl<'a> Sync for ContainerWithNewFileOpts<'a>
impl<'a> Unpin for ContainerWithNewFileOpts<'a>
impl<'a> UnwindSafe for ContainerWithNewFileOpts<'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