Enum semver::Identifier[src]

pub enum Identifier {
    Numeric(uint),
    AlphaNumeric(String),
}

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 PartialOrd for Identifier

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

fn le(&self, other: &Self) -> bool

fn gt(&self, other: &Self) -> bool

fn ge(&self, other: &Self) -> bool

impl Show for Identifier

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

Derived Implementations

impl PartialEq for Identifier

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

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

impl Clone for Identifier

fn clone(&self) -> Identifier

fn clone_from(&mut self, source: &Self)