pub struct GetSemanticHotSpotsRequest {
pub repo_path: Option<RepositoryRef>,
pub from_state: Option<StateId>,
pub limit_states: u32,
pub group_by: String,
pub include_kinds: Vec<String>,
pub include_paths: Vec<String>,
pub exclude_paths: Vec<String>,
pub top_n: u32,
pub include_actors: bool,
}Expand description
Hot-spot aggregation: walk first-parent history starting from
from_state (or HEAD), aggregate semantic-change events across the
last limit_states pairs, and rank by event count. Pairs with the
CLI’s heddle semantic hot and the semantic crate’s
analyze_hot_spots function — same primitives, no per-host glue.
Fields§
§repo_path: Option<RepositoryRef>§from_state: Option<StateId>State to start the walk from. Empty = HEAD.
limit_states: u32Walk at most this many state pairs. Default 200.
group_by: StringWhat to bucket on. “file” or “function” (case-insensitive). Default “file”.
include_kinds: Vec<String>Restrict to events of these kinds (e.g. “signature_changed”, “function_extracted”). Empty list = no filter. Spelling matches the kebab-case clap value-enum names from the CLI.
include_paths: Vec<String>Substring path filters. A path matches include_paths if any
entry is a substring of the path; matches exclude_paths likewise.
exclude_paths: Vec<String>§top_n: u32Number of slots to return at the top. Default 20.
include_actors: boolIf true, populate per-actor histograms on each spot.
Trait Implementations§
Source§impl Clone for GetSemanticHotSpotsRequest
impl Clone for GetSemanticHotSpotsRequest
Source§fn clone(&self) -> GetSemanticHotSpotsRequest
fn clone(&self) -> GetSemanticHotSpotsRequest
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for GetSemanticHotSpotsRequest
impl Debug for GetSemanticHotSpotsRequest
Source§impl Default for GetSemanticHotSpotsRequest
impl Default for GetSemanticHotSpotsRequest
impl Eq for GetSemanticHotSpotsRequest
Source§impl Hash for GetSemanticHotSpotsRequest
impl Hash for GetSemanticHotSpotsRequest
Source§impl Message for GetSemanticHotSpotsRequest
impl Message for GetSemanticHotSpotsRequest
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self.