pub enum RefName {
LocalBranch(String),
RemoteBranch {
branch: String,
remote: String,
},
Tag(String),
}
Variants§
Trait Implementations§
source§impl Ord for RefName
impl Ord for RefName
source§impl PartialEq for RefName
impl PartialEq for RefName
source§impl PartialOrd for RefName
impl PartialOrd for RefName
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for RefName
impl StructuralPartialEq for RefName
Auto Trait Implementations§
impl Freeze for RefName
impl RefUnwindSafe for RefName
impl Send for RefName
impl Sync for RefName
impl Unpin for RefName
impl UnwindSafe for RefName
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