Enum vergen::VergenKey[][src]

pub enum VergenKey {
    BuildTimestamp,
    BuildDate,
    Sha,
    ShortSha,
    CommitDate,
    TargetTriple,
    Semver,
    SemverLightweight,
}

vergen build information keys.

Variants

The build timestamp. (VERGEN_BUILD_TIMESTAMP)

The build date. (VERGEN_BUILD_DATE)

The latest commit SHA. (VERGEN_SHA)

The latest commit short SHA. (VERGEN_SHA_SHORT)

The commit date. (VERGEN_COMMIT_DATE).

The target triple. (VERGEN_TARGET_TRIPLE)

The semver version from the last git tag. (VERGEN_SEMVER)

The semver version from the last git tag, including lightweight. (VERGEN_SEMVER_LIGHTWEIGHT)

Methods

impl VergenKey
[src]

Get the comment string for the given key.

Get the name for the given key.

Trait Implementations

impl Clone for VergenKey
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for VergenKey
[src]

impl Debug for VergenKey
[src]

Formats the value using the given formatter. Read more

impl Hash for VergenKey
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Eq for VergenKey
[src]

impl PartialEq for VergenKey
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

impl Send for VergenKey

impl Sync for VergenKey