Struct yearly_version::VersionTag
source · #[repr(C, align(8))]pub struct VersionTag {
pub number: Version,
pub tag: String,
}Fields§
§number: VersionThe 64bit version number
tag: StringThe additional tagged information
This field does not affect the determination of the version number
Trait Implementations§
source§impl Clone for VersionTag
impl Clone for VersionTag
source§fn clone(&self) -> VersionTag
fn clone(&self) -> VersionTag
Returns a copy 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 VersionTag
impl Debug for VersionTag
source§impl<'de> Deserialize<'de> for VersionTag
impl<'de> Deserialize<'de> for VersionTag
source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for VersionTag
impl Display for VersionTag
source§impl FromStr for VersionTag
impl FromStr for VersionTag
source§impl Hash for VersionTag
impl Hash for VersionTag
source§impl Into<Version> for VersionTag
impl Into<Version> for VersionTag
source§impl Ord for VersionTag
impl Ord for VersionTag
source§impl PartialEq for VersionTag
impl PartialEq for VersionTag
source§impl PartialOrd for VersionTag
impl PartialOrd for VersionTag
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 moresource§impl Serialize for VersionTag
impl Serialize for VersionTag
impl Eq for VersionTag
Auto Trait Implementations§
impl Freeze for VersionTag
impl RefUnwindSafe for VersionTag
impl Send for VersionTag
impl Sync for VersionTag
impl Unpin for VersionTag
impl UnwindSafe for VersionTag
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