Struct dagger_sdk::DirectoryWithFileOptsBuilder
source · pub struct DirectoryWithFileOptsBuilder { /* private fields */ }Expand description
Builder for DirectoryWithFileOpts.
Implementations§
source§impl DirectoryWithFileOptsBuilder
impl DirectoryWithFileOptsBuilder
sourcepub fn permissions<VALUE: Into<isize>>(&mut self, value: VALUE) -> &mut Self
pub fn permissions<VALUE: Into<isize>>(&mut self, value: VALUE) -> &mut Self
Permission given to the copied file (e.g., 0600). Default: 0644.
sourcepub fn build(
&self
) -> Result<DirectoryWithFileOpts, DirectoryWithFileOptsBuilderError>
pub fn build( &self ) -> Result<DirectoryWithFileOpts, DirectoryWithFileOptsBuilderError>
Trait Implementations§
source§impl Clone for DirectoryWithFileOptsBuilder
impl Clone for DirectoryWithFileOptsBuilder
source§fn clone(&self) -> DirectoryWithFileOptsBuilder
fn clone(&self) -> DirectoryWithFileOptsBuilder
Returns a copy 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 more