[src]

Enum semver::Identifier

pub enum Identifier {
    Numeric(uint),
    AlphaNumeric(~str),
}

An identifier in the pre-release or build metadata. If the identifier can be parsed as a decimal value, it will be represented with Numeric.

Variants

Numeric
AlphaNumeric

Trait Implementations

impl Ord for Identifier

fn lt(&self, other: &Identifier) -> bool

impl Show for Identifier

fn fmt(&self, f: &mut Formatter) -> Result

Derived Implementations

impl Eq for Identifier

fn eq(&self, __arg_0: &Identifier) -> bool

fn ne(&self, __arg_0: &Identifier) -> bool

impl Clone for Identifier

fn clone(&self) -> Identifier