pub struct ResolvedPackage {Show 14 fields
pub declaration: ManifestPackage,
pub root: PathBuf,
pub spec: PackageSpec,
pub tree_hash: String,
pub artifact_hash: String,
pub artifact: String,
pub selected_exports: Vec<String>,
pub source_checksum: String,
pub export_bodies: BTreeMap<String, String>,
pub skill_files: BTreeMap<String, Vec<String>>,
pub signer_fingerprint: Option<String>,
pub registry_latest_version: Option<String>,
pub explicit: bool,
pub upstream: Option<LockedUpstream>,
}Fields§
§declaration: ManifestPackage§root: PathBuf§spec: PackageSpec§tree_hash: String§artifact_hash: String§artifact: String§selected_exports: Vec<String>§source_checksum: String§export_bodies: BTreeMap<String, String>§skill_files: BTreeMap<String, Vec<String>>§signer_fingerprint: Option<String>§registry_latest_version: Option<String>Highest non-yanked version in registry metadata when the package came from a registry source.
explicit: boolTrue when the package was declared in Prayfile; false for transitive dependencies.
upstream: Option<LockedUpstream>Trait Implementations§
Source§impl Clone for ResolvedPackage
impl Clone for ResolvedPackage
Source§fn clone(&self) -> ResolvedPackage
fn clone(&self) -> ResolvedPackage
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 moreAuto Trait Implementations§
impl Freeze for ResolvedPackage
impl RefUnwindSafe for ResolvedPackage
impl Send for ResolvedPackage
impl Sync for ResolvedPackage
impl Unpin for ResolvedPackage
impl UnsafeUnpin for ResolvedPackage
impl UnwindSafe for ResolvedPackage
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