Enum semver_parser::version::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 Clone for Identifier
[src]
fn clone(&self) -> Identifier
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for Identifier
[src]
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 !=
.