[][src]Struct build_info::CompilerInfo

pub struct CompilerInfo {
    pub version: Version,
    pub commit_id: Option<String>,
    pub commit_date: Option<NaiveDate>,
    pub channel: CompilerChannel,
    pub host_triple: String,
    pub target_triple: String,
}

rustc version and configuration

Fields

version: Version

Version of the current rustc

commit_id: Option<String>

Commit hash from which rustc was built

commit_date: Option<NaiveDate>

Date on which rustc was built

channel: CompilerChannel

Channel which was configured for this version of rustc

host_triple: String

Identifies the host on which rustc was running

target_triple: String

Identifies the target architecture for which the crate is being compiled

Trait Implementations

impl Clone for CompilerInfo[src]

impl Debug for CompilerInfo[src]

impl<'de> Deserialize<'de> for CompilerInfo[src]

impl Display for CompilerInfo[src]

impl Eq for CompilerInfo[src]

impl Hash for CompilerInfo[src]

impl Ord for CompilerInfo[src]

impl PartialEq<CompilerInfo> for CompilerInfo[src]

impl PartialOrd<CompilerInfo> for CompilerInfo[src]

impl Serialize for CompilerInfo[src]

impl StructuralEq for CompilerInfo[src]

impl StructuralPartialEq for CompilerInfo[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.