pub struct SourceGraphFacts {
pub boundaries: Vec<HttpBoundary>,
pub tests: Vec<DeclaredTestCase>,
pub implementations: Vec<DeclaredImplementation>,
pub standalone_test_nodes: Vec<Node>,
pub standalone_test_evidence: Vec<Evidence>,
pub relation_nodes: Vec<Node>,
pub relation_edges: Vec<Edge>,
pub relation_evidence: Vec<Evidence>,
}Expand description
Graph-ready facts derived from one focused Rust or Python source file.
Fields§
§boundaries: Vec<HttpBoundary>Exact HTTP provider and consumer boundaries.
tests: Vec<DeclaredTestCase>Tests paired with exact HTTP calls in the same test symbol.
implementations: Vec<DeclaredImplementation>Exact provider implementation symbols.
standalone_test_nodes: Vec<Node>Test nodes that have no exact HTTP target in the same symbol.
standalone_test_evidence: Vec<Evidence>Evidence for standalone test nodes.
relation_nodes: Vec<Node>Factory and statically imported model symbols.
relation_edges: Vec<Edge>Direct source-level relationships such as Factory Boy Meta.model.
relation_evidence: Vec<Evidence>Evidence for direct source-level relationships.
Trait Implementations§
Source§impl Clone for SourceGraphFacts
impl Clone for SourceGraphFacts
Source§fn clone(&self) -> SourceGraphFacts
fn clone(&self) -> SourceGraphFacts
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 SourceGraphFacts
impl Debug for SourceGraphFacts
Source§impl Default for SourceGraphFacts
impl Default for SourceGraphFacts
Source§fn default() -> SourceGraphFacts
fn default() -> SourceGraphFacts
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SourceGraphFacts
impl RefUnwindSafe for SourceGraphFacts
impl Send for SourceGraphFacts
impl Sync for SourceGraphFacts
impl Unpin for SourceGraphFacts
impl UnsafeUnpin for SourceGraphFacts
impl UnwindSafe for SourceGraphFacts
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