Struct dagger_sdk::DirectoryAsModuleOpts
source · pub struct DirectoryAsModuleOpts<'a> {
pub source_subpath: Option<&'a str>,
}Fields§
§source_subpath: Option<&'a str>An optional subpath of the directory which contains the module’s source code. This is needed when the module code is in a subdirectory but requires parent directories to be loaded in order to execute. For example, the module source code may need a go.mod, project.toml, package.json, etc. file from a parent directory. If not set, the module source code is loaded from the root of the directory.
Trait Implementations§
source§impl<'a> Debug for DirectoryAsModuleOpts<'a>
impl<'a> Debug for DirectoryAsModuleOpts<'a>
source§impl<'a> PartialEq for DirectoryAsModuleOpts<'a>
impl<'a> PartialEq for DirectoryAsModuleOpts<'a>
source§fn eq(&self, other: &DirectoryAsModuleOpts<'a>) -> bool
fn eq(&self, other: &DirectoryAsModuleOpts<'a>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl<'a> StructuralPartialEq for DirectoryAsModuleOpts<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for DirectoryAsModuleOpts<'a>
impl<'a> Send for DirectoryAsModuleOpts<'a>
impl<'a> Sync for DirectoryAsModuleOpts<'a>
impl<'a> Unpin for DirectoryAsModuleOpts<'a>
impl<'a> UnwindSafe for DirectoryAsModuleOpts<'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