pub enum GithubGitTransport {
Https,
Ssh,
}Expand description
Git transport selected by a validated GitHub endpoint.
Variants§
Https
Credential-free HTTPS URL authenticated separately by Git Credential Manager.
Ssh
Canonical git@github.com SSH transport.
Trait Implementations§
Source§impl Clone for GithubGitTransport
impl Clone for GithubGitTransport
impl Copy for GithubGitTransport
Source§impl Debug for GithubGitTransport
impl Debug for GithubGitTransport
impl Eq for GithubGitTransport
Source§impl From<GithubGitTransport> for GitNetworkPolicy
impl From<GithubGitTransport> for GitNetworkPolicy
Source§fn from(value: GithubGitTransport) -> Self
fn from(value: GithubGitTransport) -> Self
Converts to this type from the input type.
Source§impl Ord for GithubGitTransport
impl Ord for GithubGitTransport
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for GithubGitTransport
impl PartialEq for GithubGitTransport
Source§impl PartialOrd for GithubGitTransport
impl PartialOrd for GithubGitTransport
impl StructuralPartialEq for GithubGitTransport
Auto Trait Implementations§
impl Freeze for GithubGitTransport
impl RefUnwindSafe for GithubGitTransport
impl Send for GithubGitTransport
impl Sync for GithubGitTransport
impl Unpin for GithubGitTransport
impl UnsafeUnpin for GithubGitTransport
impl UnwindSafe for GithubGitTransport
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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.