Struct semver::Version[src]
pub struct Version {
pub major: uint,
pub minor: uint,
pub patch: uint,
pub pre: Vec<Identifier>,
pub build: Vec<Identifier>,
}Represents a version number conforming to the semantic versioning scheme.
Fields
major | The major version, to be incremented on incompatible changes. |
minor | The minor version, to be incremented when functionality is added in a backwards-compatible manner. |
patch | The patch version, to be incremented when backwards-compatible bug fixes are made. |
pre | The pre-release version identifier, if one exists. |
build | The build metadata, ignored when determining version precedence. |