pub struct GitTagName(/* private fields */);Expand description
A validated tag name.
Implementations§
Source§impl GitTagName
impl GitTagName
Trait Implementations§
Source§impl AsRef<str> for GitTagName
impl AsRef<str> for GitTagName
Source§impl Clone for GitTagName
impl Clone for GitTagName
Source§fn clone(&self) -> GitTagName
fn clone(&self) -> GitTagName
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 moreSource§impl Debug for GitTagName
impl Debug for GitTagName
Source§impl Display for GitTagName
impl Display for GitTagName
Source§impl FromStr for GitTagName
impl FromStr for GitTagName
Source§impl Hash for GitTagName
impl Hash for GitTagName
Source§impl Ord for GitTagName
impl Ord for GitTagName
Source§fn cmp(&self, other: &GitTagName) -> Ordering
fn cmp(&self, other: &GitTagName) -> Ordering
1.21.0 · 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 GitTagName
impl PartialEq for GitTagName
Source§impl PartialOrd for GitTagName
impl PartialOrd for GitTagName
Source§impl TryFrom<&str> for GitTagName
impl TryFrom<&str> for GitTagName
impl Eq for GitTagName
impl StructuralPartialEq for GitTagName
Auto Trait Implementations§
impl Freeze for GitTagName
impl RefUnwindSafe for GitTagName
impl Send for GitTagName
impl Sync for GitTagName
impl Unpin for GitTagName
impl UnsafeUnpin for GitTagName
impl UnwindSafe for GitTagName
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