pub enum GitTagKind {
Lightweight,
Annotated,
}Expand description
Tag storage vocabulary.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for GitTagKind
impl Clone for GitTagKind
Source§fn clone(&self) -> GitTagKind
fn clone(&self) -> GitTagKind
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 moreSource§impl Debug for GitTagKind
impl Debug for GitTagKind
Source§impl Display for GitTagKind
impl Display for GitTagKind
Source§impl FromStr for GitTagKind
impl FromStr for GitTagKind
Source§type Err = GitTagNameError
type Err = GitTagNameError
The associated error which can be returned from parsing.
Source§fn from_str(value: &str) -> Result<GitTagKind, <GitTagKind as FromStr>::Err>
fn from_str(value: &str) -> Result<GitTagKind, <GitTagKind as FromStr>::Err>
Parses a string
s to return a value of this type. Read moreSource§impl Hash for GitTagKind
impl Hash for GitTagKind
Source§impl Ord for GitTagKind
impl Ord for GitTagKind
Source§fn cmp(&self, other: &GitTagKind) -> Ordering
fn cmp(&self, other: &GitTagKind) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for GitTagKind
impl PartialEq for GitTagKind
Source§fn eq(&self, other: &GitTagKind) -> bool
fn eq(&self, other: &GitTagKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for GitTagKind
impl PartialOrd for GitTagKind
impl Copy for GitTagKind
impl Eq for GitTagKind
impl StructuralPartialEq for GitTagKind
Auto Trait Implementations§
impl Freeze for GitTagKind
impl RefUnwindSafe for GitTagKind
impl Send for GitTagKind
impl Sync for GitTagKind
impl Unpin for GitTagKind
impl UnsafeUnpin for GitTagKind
impl UnwindSafe for GitTagKind
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