Enum semver_parser::Identifier [] [src]

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

Variants

Numeric(u64)

An identifier that's solely numbers.

AlphaNumeric(String)

An identifier with letters and numbers.

Trait Implementations

impl PartialEq for Identifier
[src]

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

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

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

This method tests for !=.

impl Debug for Identifier
[src]

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

Formats the value using the given formatter.