pub struct ImpactContext {Show 14 fields
pub nodes: Vec<Node>,
pub edges: Vec<Edge>,
pub communities: Option<CommunitySnapshot>,
pub freshness: Vec<RepoFreshness>,
pub compatibility: Vec<CompatibilityInput>,
pub local_enrichment: Vec<LocalEnrichmentInput>,
pub public_contracts: Vec<NodeId>,
pub criticality: Vec<CriticalityAssignment>,
pub centrality: BTreeMap<NodeId, f32>,
pub service_memberships: BTreeMap<NodeId, Vec<NodeId>>,
pub environments: Vec<EnvironmentAssignment>,
pub recommended_commands: Vec<RecommendedCommand>,
pub graph_complete: bool,
pub coverage_gaps: Vec<String>,
}Expand description
Complete immutable input context for pure impact analysis.
Fields§
§nodes: Vec<Node>Federated graph nodes.
edges: Vec<Edge>Federated graph relationships.
communities: Option<CommunitySnapshot>Optional immutable community analysis for this graph snapshot.
freshness: Vec<RepoFreshness>Repository freshness records.
compatibility: Vec<CompatibilityInput>Compatibility results computed before this call.
local_enrichment: Vec<LocalEnrichmentInput>Optional repository-local impact and affected-test inputs.
public_contracts: Vec<NodeId>Nodes explicitly declared to be public contracts.
criticality: Vec<CriticalityAssignment>Explicit critical-domain assignments.
centrality: BTreeMap<NodeId, f32>Normalized centrality scores keyed by graph node.
service_memberships: BTreeMap<NodeId, Vec<NodeId>>Service memberships keyed by member node.
environments: Vec<EnvironmentAssignment>Explicit deployment environment assignments.
recommended_commands: Vec<RecommendedCommand>Explicit non-executing validation commands.
graph_complete: boolWhether graph extraction and linking completed for the requested workspace.
coverage_gaps: Vec<String>Additional known coverage gaps.
Trait Implementations§
Source§impl Clone for ImpactContext
impl Clone for ImpactContext
Source§fn clone(&self) -> ImpactContext
fn clone(&self) -> ImpactContext
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 ImpactContext
impl Debug for ImpactContext
Source§impl<'de> Deserialize<'de> for ImpactContext
impl<'de> Deserialize<'de> for ImpactContext
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl JsonSchema for ImpactContext
impl JsonSchema for ImpactContext
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for ImpactContext
impl PartialEq for ImpactContext
Source§impl Serialize for ImpactContext
impl Serialize for ImpactContext
impl StructuralPartialEq for ImpactContext
Auto Trait Implementations§
impl Freeze for ImpactContext
impl RefUnwindSafe for ImpactContext
impl Send for ImpactContext
impl Sync for ImpactContext
impl Unpin for ImpactContext
impl UnsafeUnpin for ImpactContext
impl UnwindSafe for ImpactContext
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