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,
}Expand description
A function with meaningful static or traffic-weighted blast radius.
Fields§
§id: StringDeterministic content hash of shape fallow:blast:<hash>.
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.
Trait Implementations§
Source§impl Clone for BlastRadiusEntry
impl Clone for BlastRadiusEntry
Source§fn clone(&self) -> BlastRadiusEntry
fn clone(&self) -> BlastRadiusEntry
Returns a duplicate of the value. Read more
1.0.0 · 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 BlastRadiusEntry
impl Debug for BlastRadiusEntry
Source§impl<'de> Deserialize<'de> for BlastRadiusEntry
impl<'de> Deserialize<'de> for BlastRadiusEntry
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
Auto Trait Implementations§
impl Freeze for BlastRadiusEntry
impl RefUnwindSafe for BlastRadiusEntry
impl Send for BlastRadiusEntry
impl Sync for BlastRadiusEntry
impl Unpin for BlastRadiusEntry
impl UnsafeUnpin for BlastRadiusEntry
impl UnwindSafe for BlastRadiusEntry
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