Struct dagger_sdk::HostWorkdirOpts
source · pub struct HostWorkdirOpts<'a> {
pub exclude: Option<Vec<&'a str>>,
pub include: Option<Vec<&'a str>>,
}Fields§
§exclude: Option<Vec<&'a str>>Exclude artifacts that match the given pattern (e.g., [“node_modules/”, “.git*”]).
include: Option<Vec<&'a str>>Include only artifacts that match the given pattern (e.g., [“app/”, “package.*”]).
Trait Implementations§
source§impl<'a> Debug for HostWorkdirOpts<'a>
impl<'a> Debug for HostWorkdirOpts<'a>
source§impl<'a> PartialEq<HostWorkdirOpts<'a>> for HostWorkdirOpts<'a>
impl<'a> PartialEq<HostWorkdirOpts<'a>> for HostWorkdirOpts<'a>
source§fn eq(&self, other: &HostWorkdirOpts<'a>) -> bool
fn eq(&self, other: &HostWorkdirOpts<'a>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl<'a> StructuralPartialEq for HostWorkdirOpts<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for HostWorkdirOpts<'a>
impl<'a> Send for HostWorkdirOpts<'a>
impl<'a> Sync for HostWorkdirOpts<'a>
impl<'a> Unpin for HostWorkdirOpts<'a>
impl<'a> UnwindSafe for HostWorkdirOpts<'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