Struct dagger_sdk::HostDirectoryOptsBuilder
source · pub struct HostDirectoryOptsBuilder<'a> { /* private fields */ }Expand description
Builder for HostDirectoryOpts.
Implementations§
source§impl<'a> HostDirectoryOptsBuilder<'a>
impl<'a> HostDirectoryOptsBuilder<'a>
sourcepub fn exclude<VALUE: Into<Vec<&'a str>>>(&mut self, value: VALUE) -> &mut Self
pub fn exclude<VALUE: Into<Vec<&'a str>>>(&mut self, value: VALUE) -> &mut Self
Exclude artifacts that match the given pattern (e.g., [“node_modules/”, “.git*”]).
sourcepub fn include<VALUE: Into<Vec<&'a str>>>(&mut self, value: VALUE) -> &mut Self
pub fn include<VALUE: Into<Vec<&'a str>>>(&mut self, value: VALUE) -> &mut Self
Include only artifacts that match the given pattern (e.g., [“app/”, “package.*”]).
sourcepub fn build(
&self
) -> Result<HostDirectoryOpts<'a>, HostDirectoryOptsBuilderError>
pub fn build( &self ) -> Result<HostDirectoryOpts<'a>, HostDirectoryOptsBuilderError>
Trait Implementations§
source§impl<'a> Clone for HostDirectoryOptsBuilder<'a>
impl<'a> Clone for HostDirectoryOptsBuilder<'a>
source§fn clone(&self) -> HostDirectoryOptsBuilder<'a>
fn clone(&self) -> HostDirectoryOptsBuilder<'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 moreAuto Trait Implementations§
impl<'a> RefUnwindSafe for HostDirectoryOptsBuilder<'a>
impl<'a> Send for HostDirectoryOptsBuilder<'a>
impl<'a> Sync for HostDirectoryOptsBuilder<'a>
impl<'a> Unpin for HostDirectoryOptsBuilder<'a>
impl<'a> UnwindSafe for HostDirectoryOptsBuilder<'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