pub struct QueryGitOpts<'a> {
pub experimental_service_host: Option<Id>,
pub http_auth_header: Option<Id>,
pub http_auth_token: Option<Id>,
pub http_auth_username: Option<&'a str>,
pub keep_git_dir: Option<bool>,
pub ssh_auth_socket: Option<Id>,
pub ssh_known_hosts: Option<&'a str>,
}Fields§
§experimental_service_host: Option<Id>A service which must be started before the repo is fetched.
http_auth_header: Option<Id>Secret used to populate the Authorization HTTP header
http_auth_token: Option<Id>Secret used to populate the password during basic HTTP Authorization
http_auth_username: Option<&'a str>Username used to populate the password during basic HTTP Authorization
keep_git_dir: Option<bool>DEPRECATED: Set to true to keep .git directory.
ssh_auth_socket: Option<Id>Set SSH auth socket
ssh_known_hosts: Option<&'a str>Set SSH known hosts
Trait Implementations§
Source§impl<'a> Debug for QueryGitOpts<'a>
impl<'a> Debug for QueryGitOpts<'a>
Source§impl<'a> PartialEq for QueryGitOpts<'a>
impl<'a> PartialEq for QueryGitOpts<'a>
impl<'a> StructuralPartialEq for QueryGitOpts<'a>
Auto Trait Implementations§
impl<'a> Freeze for QueryGitOpts<'a>
impl<'a> RefUnwindSafe for QueryGitOpts<'a>
impl<'a> Send for QueryGitOpts<'a>
impl<'a> Sync for QueryGitOpts<'a>
impl<'a> Unpin for QueryGitOpts<'a>
impl<'a> UnsafeUnpin for QueryGitOpts<'a>
impl<'a> UnwindSafe for QueryGitOpts<'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