Struct rustc_version::VersionMeta [] [src]

pub struct VersionMeta {
    pub semver: Version,
    pub git_short_hash: String,
    pub date: String,
    pub channel: Channel,
}

Rustc version plus metada like git short hash and build date.

Fields

semver

Version of the compiler

git_short_hash

Git short hash of the build of the compiler

date

Build date of the compiler

channel

Release channel of the compiler

Trait Implementations

Derived Implementations

impl Hash for VersionMeta

fn hash<__H: Hasher>(&self, __arg_0: &mut __H)

fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher

impl PartialOrd for VersionMeta

fn partial_cmp(&self, __arg_0: &VersionMeta) -> Option<Ordering>

fn lt(&self, __arg_0: &VersionMeta) -> bool

fn le(&self, __arg_0: &VersionMeta) -> bool

fn gt(&self, __arg_0: &VersionMeta) -> bool

fn ge(&self, __arg_0: &VersionMeta) -> bool

impl Ord for VersionMeta

fn cmp(&self, __arg_0: &VersionMeta) -> Ordering

impl PartialEq for VersionMeta

fn eq(&self, __arg_0: &VersionMeta) -> bool

fn ne(&self, __arg_0: &VersionMeta) -> bool

impl Eq for VersionMeta

impl Clone for VersionMeta

fn clone(&self) -> VersionMeta

fn clone_from(&mut self, source: &Self)