pub struct PackageSnapshot {
pub id: PackageId,
pub manifest_name: String,
pub version: Version,
pub version_source: VersionSource,
pub ecosystem: EcosystemId,
pub path: Utf8PathBuf,
pub publishable: bool,
pub dependencies: Vec<Dependency>,
}Expand description
Immutable package data collected from an ecosystem manifest.
Fields§
§id: PackageId§manifest_name: String§version: Version§version_source: VersionSource§ecosystem: EcosystemId§path: Utf8PathBuf§publishable: bool§dependencies: Vec<Dependency>Trait Implementations§
Source§impl Clone for PackageSnapshot
impl Clone for PackageSnapshot
Source§fn clone(&self) -> PackageSnapshot
fn clone(&self) -> PackageSnapshot
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 PackageSnapshot
impl Debug for PackageSnapshot
impl Eq for PackageSnapshot
Source§impl PartialEq for PackageSnapshot
impl PartialEq for PackageSnapshot
impl StructuralPartialEq for PackageSnapshot
Auto Trait Implementations§
impl Freeze for PackageSnapshot
impl RefUnwindSafe for PackageSnapshot
impl Send for PackageSnapshot
impl Sync for PackageSnapshot
impl Unpin for PackageSnapshot
impl UnsafeUnpin for PackageSnapshot
impl UnwindSafe for PackageSnapshot
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