Enum GitRemoteKind
pub enum GitRemoteKind {
Origin,
Upstream,
Mirror,
Other,
}Expand description
Remote kind vocabulary.
Variants§
Origin
The primary origin remote label.
Upstream
An upstream remote label.
Mirror
A mirror remote label.
Other
Another remote role.
Implementations§
§impl GitRemoteKind
impl GitRemoteKind
Trait Implementations§
§impl Clone for GitRemoteKind
impl Clone for GitRemoteKind
§fn clone(&self) -> GitRemoteKind
fn clone(&self) -> GitRemoteKind
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 more§impl Debug for GitRemoteKind
impl Debug for GitRemoteKind
§impl Display for GitRemoteKind
impl Display for GitRemoteKind
§impl FromStr for GitRemoteKind
impl FromStr for GitRemoteKind
§type Err = GitRemoteNameError
type Err = GitRemoteNameError
The associated error which can be returned from parsing.
§fn from_str(
value: &str,
) -> Result<GitRemoteKind, <GitRemoteKind as FromStr>::Err>
fn from_str( value: &str, ) -> Result<GitRemoteKind, <GitRemoteKind as FromStr>::Err>
Parses a string
s to return a value of this type. Read more§impl Hash for GitRemoteKind
impl Hash for GitRemoteKind
§impl Ord for GitRemoteKind
impl Ord for GitRemoteKind
§impl PartialEq for GitRemoteKind
impl PartialEq for GitRemoteKind
§impl PartialOrd for GitRemoteKind
impl PartialOrd for GitRemoteKind
impl Copy for GitRemoteKind
impl Eq for GitRemoteKind
impl StructuralPartialEq for GitRemoteKind
Auto Trait Implementations§
impl Freeze for GitRemoteKind
impl RefUnwindSafe for GitRemoteKind
impl Send for GitRemoteKind
impl Sync for GitRemoteKind
impl Unpin for GitRemoteKind
impl UnsafeUnpin for GitRemoteKind
impl UnwindSafe for GitRemoteKind
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