Struct dagger_sdk::QueryGitOptsBuilder
source · pub struct QueryGitOptsBuilder { /* private fields */ }Expand description
Builder for QueryGitOpts.
Implementations§
source§impl QueryGitOptsBuilder
impl QueryGitOptsBuilder
sourcepub fn keep_git_dir<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn keep_git_dir<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
Set to true to keep .git directory.
sourcepub fn experimental_service_host<VALUE: Into<ContainerId>>(
&mut self,
value: VALUE
) -> &mut Self
pub fn experimental_service_host<VALUE: Into<ContainerId>>( &mut self, value: VALUE ) -> &mut Self
A service which must be started before the repo is fetched.
sourcepub fn build(&self) -> Result<QueryGitOpts, QueryGitOptsBuilderError>
pub fn build(&self) -> Result<QueryGitOpts, QueryGitOptsBuilderError>
Trait Implementations§
source§impl Clone for QueryGitOptsBuilder
impl Clone for QueryGitOptsBuilder
source§fn clone(&self) -> QueryGitOptsBuilder
fn clone(&self) -> QueryGitOptsBuilder
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 more