pub enum Kind {
Builtin,
ExternalName {
name_and_args: BString,
},
ExternalPath {
path_and_args: BString,
},
ExternalShellScript(BString),
}
Expand description
The kind of helper program to use.
Variants§
Builtin
The built-in git credential
helper program, part of any git
distribution.
ExternalName
A custom credentials helper, as identified just by the name with optional arguments
Fields
ExternalPath
A custom credentials helper, as identified just by the absolute path to the program and optional arguments. The program is executed through a shell.
Fields
ExternalShellScript(BString)
A script to execute with sh
.
Trait Implementations§
impl Eq for Kind
impl StructuralPartialEq for Kind
Auto Trait Implementations§
impl Freeze for Kind
impl RefUnwindSafe for Kind
impl Send for Kind
impl Sync for Kind
impl Unpin for Kind
impl UnwindSafe for Kind
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)