Struct dagger_sdk::DirectoryEntriesOptsBuilder
source · pub struct DirectoryEntriesOptsBuilder<'a> { /* private fields */ }Expand description
Builder for DirectoryEntriesOpts.
Implementations§
source§impl<'a> DirectoryEntriesOptsBuilder<'a>
impl<'a> DirectoryEntriesOptsBuilder<'a>
sourcepub fn path<VALUE: Into<&'a str>>(&mut self, value: VALUE) -> &mut Self
pub fn path<VALUE: Into<&'a str>>(&mut self, value: VALUE) -> &mut Self
Location of the directory to look at (e.g., “/src”).
sourcepub fn build(
&self
) -> Result<DirectoryEntriesOpts<'a>, DirectoryEntriesOptsBuilderError>
pub fn build( &self ) -> Result<DirectoryEntriesOpts<'a>, DirectoryEntriesOptsBuilderError>
Trait Implementations§
source§impl<'a> Clone for DirectoryEntriesOptsBuilder<'a>
impl<'a> Clone for DirectoryEntriesOptsBuilder<'a>
source§fn clone(&self) -> DirectoryEntriesOptsBuilder<'a>
fn clone(&self) -> DirectoryEntriesOptsBuilder<'a>
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