pub struct TagRef {
pub name: String,
pub semver: Version,
}Expand description
A resolved git tag with a parsed SemVer version.
Fields§
§name: StringFull tag name, e.g. "v1.0.3" or "foo-v1.0.3".
semver: VersionParsed SemVer version.
Trait Implementations§
impl Eq for TagRef
impl StructuralPartialEq for TagRef
Auto Trait Implementations§
impl Freeze for TagRef
impl RefUnwindSafe for TagRef
impl Send for TagRef
impl Sync for TagRef
impl Unpin for TagRef
impl UnsafeUnpin for TagRef
impl UnwindSafe for TagRef
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.