pub enum GitAuth {
System,
Gh,
Token,
}Expand description
How a git remote authenticates.
Variants§
System
The user’s own git setup (credential manager, SSH agent, …).
Gh
gh auth git-credential.
Token
A token from the OS keyring through surject git-credential.
Implementations§
Trait Implementations§
impl Copy for GitAuth
impl Eq for GitAuth
impl StructuralPartialEq for GitAuth
Auto Trait Implementations§
impl Forget for GitAuth
impl Freeze for GitAuth
impl Move for GitAuth
impl RefUnwindSafe for GitAuth
impl Send for GitAuth
impl Sync for GitAuth
impl Unpin for GitAuth
impl UnsafeUnpin for GitAuth
impl UnwindSafe for GitAuth
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.