Enum extra::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.

Trait Implementations

impl std::clone::Clone for Identifier

fn clone(&self) -> Identifier

impl std::cmp::Eq for Identifier

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

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

impl std::cmp::Ord for Identifier

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

impl std::to_str::ToStr for Identifier

fn to_str(&self) -> ~str