Enum GitRefKind
pub enum GitRefKind {
Head,
Branch,
Tag,
Remote,
Other,
}Expand description
A broad ref-name kind.
Variants§
Head
The HEAD pseudo-ref.
Branch
A branch ref under refs/heads/.
Tag
A tag ref under refs/tags/.
Remote
A remote-tracking ref under refs/remotes/.
Other
Another syntactically valid ref name.
Implementations§
§impl GitRefKind
impl GitRefKind
Trait Implementations§
§impl Clone for GitRefKind
impl Clone for GitRefKind
§fn clone(&self) -> GitRefKind
fn clone(&self) -> GitRefKind
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 GitRefKind
impl Debug for GitRefKind
§impl Display for GitRefKind
impl Display for GitRefKind
§impl Hash for GitRefKind
impl Hash for GitRefKind
§impl Ord for GitRefKind
impl Ord for GitRefKind
§impl PartialEq for GitRefKind
impl PartialEq for GitRefKind
§impl PartialOrd for GitRefKind
impl PartialOrd for GitRefKind
impl Copy for GitRefKind
impl Eq for GitRefKind
impl StructuralPartialEq for GitRefKind
Auto Trait Implementations§
impl Freeze for GitRefKind
impl RefUnwindSafe for GitRefKind
impl Send for GitRefKind
impl Sync for GitRefKind
impl Unpin for GitRefKind
impl UnsafeUnpin for GitRefKind
impl UnwindSafe for GitRefKind
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