pub struct NamedPackageId {
pub full_name: String,
pub version: Version,
}
Fields§
§full_name: String
§version: Version
Implementations§
Trait Implementations§
Source§impl Clone for NamedPackageId
impl Clone for NamedPackageId
Source§fn clone(&self) -> NamedPackageId
fn clone(&self) -> NamedPackageId
Returns a copy of the value. Read more
1.0.0 · 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 NamedPackageId
impl Debug for NamedPackageId
Source§impl Display for NamedPackageId
impl Display for NamedPackageId
Source§impl From<NamedPackageId> for NamedPackageIdent
impl From<NamedPackageId> for NamedPackageIdent
Source§fn from(value: NamedPackageId) -> Self
fn from(value: NamedPackageId) -> Self
Converts to this type from the input type.
Source§impl From<NamedPackageId> for PackageId
impl From<NamedPackageId> for PackageId
Source§fn from(value: NamedPackageId) -> Self
fn from(value: NamedPackageId) -> Self
Converts to this type from the input type.
Source§impl From<NamedPackageId> for PackageSource
impl From<NamedPackageId> for PackageSource
Source§fn from(value: NamedPackageId) -> Self
fn from(value: NamedPackageId) -> Self
Converts to this type from the input type.
Source§impl Hash for NamedPackageId
impl Hash for NamedPackageId
Source§impl Ord for NamedPackageId
impl Ord for NamedPackageId
Source§fn cmp(&self, other: &NamedPackageId) -> Ordering
fn cmp(&self, other: &NamedPackageId) -> Ordering
1.21.0 · 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 NamedPackageId
impl PartialEq for NamedPackageId
Source§impl PartialOrd for NamedPackageId
impl PartialOrd for NamedPackageId
impl Eq for NamedPackageId
impl StructuralPartialEq for NamedPackageId
Auto Trait Implementations§
impl Freeze for NamedPackageId
impl RefUnwindSafe for NamedPackageId
impl Send for NamedPackageId
impl Sync for NamedPackageId
impl Unpin for NamedPackageId
impl UnwindSafe for NamedPackageId
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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.