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 moreAuto Trait Implementations§
impl RefUnwindSafe for DirectoryWithFileOptsBuilder
impl Send for DirectoryWithFileOptsBuilder
impl Sync for DirectoryWithFileOptsBuilder
impl Unpin for DirectoryWithFileOptsBuilder
impl UnwindSafe for DirectoryWithFileOptsBuilder
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