pub struct PackageInstanceId {
pub registry: RegistryOrigin,
pub name: PackageName,
pub version: PackageVersion,
}Fields§
§registry: RegistryOrigin§name: PackageName§version: PackageVersionImplementations§
Source§impl PackageInstanceId
impl PackageInstanceId
pub fn new( registry: RegistryOrigin, name: PackageName, version: PackageVersion, ) -> Self
Trait Implementations§
Source§impl Clone for PackageInstanceId
impl Clone for PackageInstanceId
Source§fn clone(&self) -> PackageInstanceId
fn clone(&self) -> PackageInstanceId
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 PackageInstanceId
impl Debug for PackageInstanceId
impl Eq for PackageInstanceId
Source§impl Hash for PackageInstanceId
impl Hash for PackageInstanceId
Source§impl Ord for PackageInstanceId
impl Ord for PackageInstanceId
Source§fn cmp(&self, other: &PackageInstanceId) -> Ordering
fn cmp(&self, other: &PackageInstanceId) -> 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 PackageInstanceId
impl PartialEq for PackageInstanceId
Source§impl PartialOrd for PackageInstanceId
impl PartialOrd for PackageInstanceId
impl StructuralPartialEq for PackageInstanceId
Auto Trait Implementations§
impl Freeze for PackageInstanceId
impl RefUnwindSafe for PackageInstanceId
impl Send for PackageInstanceId
impl Sync for PackageInstanceId
impl Unpin for PackageInstanceId
impl UnsafeUnpin for PackageInstanceId
impl UnwindSafe for PackageInstanceId
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