pub struct VersionMismatch {
pub package: String,
pub ecosystem: Ecosystem,
pub manifest_version: String,
}Expand description
One publishable target’s resolved package paired with the version its tree
manifest declares — the version the ecosystem’s publish command (cargo publish reading Cargo.toml, …) would actually upload.
The workspace manifest is the single source of truth for the release version
(resolve_release_version); this is one row of that truth. A tree whose
manifests disagree among themselves carries a set of these
(VersionResolveError::InconsistentTree).
Fields§
§package: StringThe resolved package this row describes.
ecosystem: EcosystemThe package’s ecosystem.
manifest_version: StringThe version declared in the tree manifest — what the ecosystem’s publish
command (cargo publish reading Cargo.toml, …) would actually
upload for this package.
Trait Implementations§
Source§impl Clone for VersionMismatch
impl Clone for VersionMismatch
Source§fn clone(&self) -> VersionMismatch
fn clone(&self) -> VersionMismatch
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for VersionMismatch
impl Debug for VersionMismatch
impl Eq for VersionMismatch
Source§impl PartialEq for VersionMismatch
impl PartialEq for VersionMismatch
Source§impl Serialize for VersionMismatch
impl Serialize for VersionMismatch
impl StructuralPartialEq for VersionMismatch
Auto Trait Implementations§
impl Freeze for VersionMismatch
impl RefUnwindSafe for VersionMismatch
impl Send for VersionMismatch
impl Sync for VersionMismatch
impl Unpin for VersionMismatch
impl UnsafeUnpin for VersionMismatch
impl UnwindSafe for VersionMismatch
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.