#[non_exhaustive]pub struct BlastRadiusEntry {
pub id: String,
pub file: String,
pub function: String,
pub line: u32,
pub caller_count: u32,
pub caller_count_weighted_by_traffic: u64,
pub deploys_touched: Option<u32>,
pub risk_band: RiskBand,
pub identity: Option<FunctionIdentity>,
}Expand description
A function with meaningful static or traffic-weighted blast radius.
Marked #[non_exhaustive] in 0.6.0: downstream Rust consumers must
stop using struct-literal construction. The wire shape is unchanged.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.id: StringDeterministic content hash of shape fallow:blast:<hash>.
Continues to ship through 0.6 alongside BlastRadiusEntry::identity.
file: StringPath to the source file, relative to Request::project_root.
function: StringFunction name as reported by the static analyzer.
line: u321-indexed line the function starts on.
caller_count: u32Static caller count supplied by the CLI module graph.
caller_count_weighted_by_traffic: u64Caller count weighted by observed traffic. Local mode uses the sidecar’s current best-effort traffic proxy; cloud mode may replace this with summed caller invocations.
deploys_touched: Option<u32>Distinct git SHAs that touched this function in the observation window. Cloud-only; omitted for local coverage artifacts.
risk_band: RiskBandDeterministic low / medium / high band.
identity: Option<FunctionIdentity>Canonical function identity introduced in 0.6.0. Optional for forward-compat with 0.5-shape sidecars.
Trait Implementations§
Source§impl Clone for BlastRadiusEntry
impl Clone for BlastRadiusEntry
Source§fn clone(&self) -> BlastRadiusEntry
fn clone(&self) -> BlastRadiusEntry
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more