pub struct WorkspaceWithInitModuleOpts<'a> {
pub entrypoint: Option<bool>,
pub install: Option<bool>,
pub main: Option<bool>,
pub name: Option<&'a str>,
pub path: Option<&'a str>,
pub settings: Option<Json>,
}Fields§
§entrypoint: Option<bool>Compatibility alias for main.
install: Option<bool>Install the module. When omitted, install only if path is omitted.
main: Option<bool>Select this module as the workspace main and install it. False prevents automatic selection. When omitted, select only if both path and name are omitted and the module is installed.
name: Option<&'a str>Module name. The engine infers it from path, the active config file, or the workspace root when omitted.
path: Option<&'a str>Module path relative to the workspace cwd, or an absolute workspace path. Defaults to .dagger/modules/
settings: Option<Json>Explicit SDK-module constructor setting overrides for this scope.
Trait Implementations§
Source§impl<'a> Debug for WorkspaceWithInitModuleOpts<'a>
impl<'a> Debug for WorkspaceWithInitModuleOpts<'a>
Source§impl<'a> PartialEq for WorkspaceWithInitModuleOpts<'a>
impl<'a> PartialEq for WorkspaceWithInitModuleOpts<'a>
impl<'a> StructuralPartialEq for WorkspaceWithInitModuleOpts<'a>
Auto Trait Implementations§
impl<'a> Freeze for WorkspaceWithInitModuleOpts<'a>
impl<'a> RefUnwindSafe for WorkspaceWithInitModuleOpts<'a>
impl<'a> Send for WorkspaceWithInitModuleOpts<'a>
impl<'a> Sync for WorkspaceWithInitModuleOpts<'a>
impl<'a> Unpin for WorkspaceWithInitModuleOpts<'a>
impl<'a> UnsafeUnpin for WorkspaceWithInitModuleOpts<'a>
impl<'a> UnwindSafe for WorkspaceWithInitModuleOpts<'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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more