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§fn clone(&self) -> PackageGraphFacts
fn clone(&self) -> PackageGraphFacts
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 PackageGraphFacts
impl Debug for PackageGraphFacts
Source§impl Default for PackageGraphFacts
impl Default for PackageGraphFacts
Source§fn default() -> PackageGraphFacts
fn default() -> PackageGraphFacts
Returns the “default value” for a type. Read more
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