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 ==.