pub struct PackageGraphFacts {
pub nodes: Vec<Node>,
pub edges: Vec<Edge>,
pub evidence: Vec<Evidence>,
pub owned_packages: Vec<(PackageIdentity, RepoId)>,
pub dependencies: Vec<PackageDependencyFact>,
}Expand description
Graph-ready package facts from one source-owned manifest.
Fields§
§nodes: Vec<Node>Repository, artifact, and package nodes.
edges: Vec<Edge>Manifest containment and package dependency edges.
evidence: Vec<Evidence>Direct package declaration evidence.
owned_packages: Vec<(PackageIdentity, RepoId)>Package coordinates owned by this source repository.
dependencies: Vec<PackageDependencyFact>Dependency facts used to distinguish internal repositories from external packages.
Trait Implementations§
Source§impl Clone for PackageGraphFacts
impl Clone for PackageGraphFacts
Source§impl Debug for PackageGraphFacts
impl Debug for PackageGraphFacts
Auto Trait Implementations§
impl Freeze for PackageGraphFacts
impl RefUnwindSafe for PackageGraphFacts
impl Send for PackageGraphFacts
impl Sync for PackageGraphFacts
impl Unpin for PackageGraphFacts
impl UnsafeUnpin for PackageGraphFacts
impl UnwindSafe for PackageGraphFacts
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