pub enum VersionSource {
PackageManifest,
Shared {
source: VersionSourceId,
},
}Expand description
Physical manifest location that owns a package’s version value.
Variants§
PackageManifest
Trait Implementations§
Source§impl Clone for VersionSource
impl Clone for VersionSource
Source§fn clone(&self) -> VersionSource
fn clone(&self) -> VersionSource
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 VersionSource
impl Debug for VersionSource
impl Eq for VersionSource
Source§impl Hash for VersionSource
impl Hash for VersionSource
Source§impl Ord for VersionSource
impl Ord for VersionSource
Source§fn cmp(&self, other: &VersionSource) -> Ordering
fn cmp(&self, other: &VersionSource) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for VersionSource
impl PartialEq for VersionSource
Source§impl PartialOrd for VersionSource
impl PartialOrd for VersionSource
Source§impl Serialize for VersionSource
impl Serialize for VersionSource
impl StructuralPartialEq for VersionSource
Auto Trait Implementations§
impl Freeze for VersionSource
impl RefUnwindSafe for VersionSource
impl Send for VersionSource
impl Sync for VersionSource
impl Unpin for VersionSource
impl UnsafeUnpin for VersionSource
impl UnwindSafe for VersionSource
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