pub struct QueryGitOptsBuilder<'a> { /* private fields */ }
Expand description
Builder for QueryGitOpts
.
Implementations§
Source§impl<'a> QueryGitOptsBuilder<'a>
impl<'a> QueryGitOptsBuilder<'a>
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 http_auth_header<VALUE: Into<SecretId>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn http_auth_header<VALUE: Into<SecretId>>( &mut self, value: VALUE, ) -> &mut Self
Secret used to populate the Authorization HTTP header
Sourcepub fn http_auth_token<VALUE: Into<SecretId>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn http_auth_token<VALUE: Into<SecretId>>( &mut self, value: VALUE, ) -> &mut Self
Secret used to populate the password during basic HTTP Authorization
Sourcepub fn http_auth_username<VALUE: Into<&'a str>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn http_auth_username<VALUE: Into<&'a str>>( &mut self, value: VALUE, ) -> &mut Self
Username used to populate the password during basic HTTP Authorization
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
DEPRECATED: Set to true to keep .git directory.
Sourcepub fn ssh_auth_socket<VALUE: Into<SocketId>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn ssh_auth_socket<VALUE: Into<SocketId>>( &mut self, value: VALUE, ) -> &mut Self
Set SSH auth socket
Sourcepub fn ssh_known_hosts<VALUE: Into<&'a str>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn ssh_known_hosts<VALUE: Into<&'a str>>( &mut self, value: VALUE, ) -> &mut Self
Set SSH known hosts
Sourcepub fn build(&self) -> Result<QueryGitOpts<'a>, QueryGitOptsBuilderError>
pub fn build(&self) -> Result<QueryGitOpts<'a>, QueryGitOptsBuilderError>
Trait Implementations§
Source§impl<'a> Clone for QueryGitOptsBuilder<'a>
impl<'a> Clone for QueryGitOptsBuilder<'a>
Source§fn clone(&self) -> QueryGitOptsBuilder<'a>
fn clone(&self) -> QueryGitOptsBuilder<'a>
Returns a duplicate 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<'a> Freeze for QueryGitOptsBuilder<'a>
impl<'a> RefUnwindSafe for QueryGitOptsBuilder<'a>
impl<'a> Send for QueryGitOptsBuilder<'a>
impl<'a> Sync for QueryGitOptsBuilder<'a>
impl<'a> Unpin for QueryGitOptsBuilder<'a>
impl<'a> UnwindSafe for QueryGitOptsBuilder<'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