Enum algorithmia::algo::Version [] [src]

pub enum Version {
    Latest,
    Minor(u32u32),
    Revision(u32u32u32),
    Hash(String),
}

Version of an algorithm

Variants

Latest published version

Latest published version with the same minor version, e.g., 1.2 implies 1.2.*

A specific published revision, e.g., 0.1.0

A specific git hash - only works for the algorithm's author

Trait Implementations

impl<'a> From<&'a str> for Version
[src]

Performs the conversion.

impl From<(u32, u32)> for Version
[src]

Performs the conversion.

impl From<(u32, u32, u32)> for Version
[src]

Performs the conversion.

impl Display for Version
[src]

Displays Version values suitable for printing

Formats the value using the given formatter. Read more