Struct dagger_sdk::QueryGitOptsBuilder
source · pub struct QueryGitOptsBuilder { /* private fields */ }Expand description
Builder for QueryGitOpts.
Implementations§
source§impl QueryGitOptsBuilder
impl QueryGitOptsBuilder
sourcepub fn experimental_service_host<VALUE: Into<ServiceId>>(
&mut self,
value: VALUE
) -> &mut Self
pub fn experimental_service_host<VALUE: Into<ServiceId>>( &mut self, value: VALUE ) -> &mut Self
A service which must be started before the repo is fetched.
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 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 moreAuto Trait Implementations§
impl RefUnwindSafe for QueryGitOptsBuilder
impl Send for QueryGitOptsBuilder
impl Sync for QueryGitOptsBuilder
impl Unpin for QueryGitOptsBuilder
impl UnwindSafe for QueryGitOptsBuilder
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