pub enum GitRefKind {
Branch,
Tag,
Note,
Other,
}Expand description
The wire-level kind used for hosted Git ref updates.
Variants§
Branch
refs/heads/<name> or refs/remotes/<remote>/<name>.
Tag
refs/tags/<name>.
Note
refs/notes/<name>.
Other
Any non-local-only ref outside the known content namespaces.
Trait Implementations§
Source§impl Clone for GitRefKind
impl Clone for GitRefKind
Source§fn clone(&self) -> GitRefKind
fn clone(&self) -> GitRefKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for GitRefKind
Source§impl Debug for GitRefKind
impl Debug for GitRefKind
impl Eq for GitRefKind
Source§impl Hash for GitRefKind
impl Hash for GitRefKind
Source§impl PartialEq for GitRefKind
impl PartialEq 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