Struct build_info::CompilerInfo [−][src]
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,
}Expand description
rustc version and configuration
Fields
version: VersionVersion 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: CompilerChannelChannel which was configured for this version of rustc
host_triple: StringIdentifies the host on which rustc was running
target_triple: StringIdentifies the target architecture for which the crate is being compiled
Trait Implementations
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<CompilerInfo, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<CompilerInfo, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>, Deserialize this value from the given Serde deserializer. Read more
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
This method returns an ordering between self and other values if one exists. Read more
This method tests less than (for self and other) and is used by the < operator. Read more
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
This method tests greater than (for self and other) and is used by the > operator. Read more
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer, Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for CompilerInfoimpl Send for CompilerInfoimpl Sync for CompilerInfoimpl Unpin for CompilerInfoimpl UnwindSafe for CompilerInfoBlanket Implementations
Mutably borrows from an owned value. Read more