Struct oysterpack_built_mod::Build [−][src]
pub struct Build { /* fields omitted */ }
Build provides a consolidated view of the crate's build-time metadata.
Methods
impl Build
[src]
impl Build
pub fn timestamp(&self) -> DateTime<Utc>
[src]
pub fn timestamp(&self) -> DateTime<Utc>
When the crate was built
pub fn target(&self) -> &Target
[src]
pub fn target(&self) -> &Target
The compile target platform
pub fn ci_platform(&self) -> Option<&ContinuousIntegrationPlatform>
[src]
pub fn ci_platform(&self) -> Option<&ContinuousIntegrationPlatform>
The Continuous Integration platform detected during compilation.
pub fn compilation(&self) -> &Compilation
[src]
pub fn compilation(&self) -> &Compilation
Compilation info
pub fn git_version(&self) -> Option<&GitVersion>
[src]
pub fn git_version(&self) -> Option<&GitVersion>
If the crate was compiled from within a git-repository, GIT_VERSION contains HEAD's tag. The short commit id is used if HEAD is not tagged.
pub fn package(&self) -> &Package
[src]
pub fn package(&self) -> &Package
Crate package info
Trait Implementations
impl Debug for Build
[src]
impl Debug for Build
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for Build
[src]
impl Clone for Build
fn clone(&self) -> Build
[src]
fn clone(&self) -> Build
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Eq for Build
[src]
impl Eq for Build
impl PartialEq for Build
[src]
impl PartialEq for Build