pub enum ReferenceKind {
Branch,
Note,
Remote,
Tag,
Other,
}
Expand description
Represents the kind of a reference
Variants§
Branch
Reference is a branch.
Note
Reference is a note.
Remote
Reference is a remote.
Tag
Reference is a tag.
Other
Reference is another kind.
Trait Implementations§
Source§impl Clone for ReferenceKind
impl Clone for ReferenceKind
Source§fn clone(&self) -> ReferenceKind
fn clone(&self) -> ReferenceKind
Returns a copy 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 moreSource§impl Debug for ReferenceKind
impl Debug for ReferenceKind
Source§impl PartialEq for ReferenceKind
impl PartialEq for ReferenceKind
impl Copy for ReferenceKind
impl Eq for ReferenceKind
impl StructuralPartialEq for ReferenceKind
Auto Trait Implementations§
impl Freeze for ReferenceKind
impl RefUnwindSafe for ReferenceKind
impl Send for ReferenceKind
impl Sync for ReferenceKind
impl Unpin for ReferenceKind
impl UnwindSafe for ReferenceKind
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