Enum fluvio_index::PackageVersion [−][src]
Expand description
A type representing a package version in a PackageId.
In a PackageId string like fluvio/fluvio:1.2.3
, this
is the 1.2.3
.
A PackageVersion
may be either a direct semver, or it may be
the name of a tag which can later be resolved to a semver by
looking up the tag in the package registry.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Semver(Version)
Tuple Fields of Semver
0: Version
Tag(TagName)
Tuple Fields of Tag
0: TagName
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for PackageVersion
impl Send for PackageVersion
impl Sync for PackageVersion
impl Unpin for PackageVersion
impl UnwindSafe for PackageVersion
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more