Enum semver::Identifier [−][src]
Expand description
An identifier in the pre-release or build metadata.
See sections 9 and 10 of the spec for more about pre-release identifers and build metadata.
Variants
Numeric(u64)
An identifier that’s solely numbers.
Tuple Fields of Numeric
0: u64
AlphaNumeric(String)
An identifier with letters and numbers.
Tuple Fields of AlphaNumeric
0: String
Trait Implementations
Deserialize this value from the given Serde deserializer. Read more
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for Identifier
impl Send for Identifier
impl Sync for Identifier
impl Unpin for Identifier
impl UnwindSafe for Identifier
Blanket Implementations
Mutably borrows from an owned value. Read more