pub struct HostDirectoryOpts<'a> {
pub exclude: Option<Vec<&'a str>>,
pub include: Option<Vec<&'a str>>,
pub no_cache: Option<bool>,
pub no_git_auto_ignore: Option<bool>,
}
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.*”]).
no_cache: Option<bool>
If true, the directory will always be reloaded from the host.
no_git_auto_ignore: Option<bool>
Don’t apply .gitignore filter rules inside the directory
Trait Implementations§
Source§impl<'a> Debug for HostDirectoryOpts<'a>
impl<'a> Debug for HostDirectoryOpts<'a>
Source§impl<'a> PartialEq for HostDirectoryOpts<'a>
impl<'a> PartialEq for HostDirectoryOpts<'a>
impl<'a> StructuralPartialEq for HostDirectoryOpts<'a>
Auto Trait Implementations§
impl<'a> Freeze for HostDirectoryOpts<'a>
impl<'a> RefUnwindSafe for HostDirectoryOpts<'a>
impl<'a> Send for HostDirectoryOpts<'a>
impl<'a> Sync for HostDirectoryOpts<'a>
impl<'a> Unpin for HostDirectoryOpts<'a>
impl<'a> UnwindSafe for HostDirectoryOpts<'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