pub struct ImportanceProfile {Show 14 fields
pub overall: f64,
pub caller_count: usize,
pub callee_count: usize,
pub global_ppr: f64,
pub task_ppr: f64,
pub entrypoint: bool,
pub exported: bool,
pub flow_count: usize,
pub contract_count: usize,
pub state_read_count: usize,
pub state_write_count: usize,
pub dependent_count: usize,
pub change_risk: f64,
pub badges: Vec<String>,
}Expand description
A definition deliberately omitted by a token-budget cut — the artifact
never silently implies completeness.
Derived importance explanation for one surface symbol (audit item 3):
topology (exact fan-in/fan-out, never truncated), architecture signals,
and change impact — computed from data the pipeline ALREADY has. Badges
are derived labels over those numbers, not extra scoring magic: the
overall score stays rank.total.
Fields§
§overall: f64§caller_count: usize§callee_count: usize§global_ppr: f64§task_ppr: f64§entrypoint: bool§exported: bool§flow_count: usize§contract_count: usize§state_read_count: usize§state_write_count: usize§dependent_count: usize§change_risk: f64§badges: Vec<String>Trait Implementations§
Source§impl Clone for ImportanceProfile
impl Clone for ImportanceProfile
Source§impl Debug for ImportanceProfile
impl Debug for ImportanceProfile
Source§impl<'de> Deserialize<'de> for ImportanceProfile
impl<'de> Deserialize<'de> for ImportanceProfile
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 ImportanceProfile
impl JsonSchema for ImportanceProfile
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 ImportanceProfile
impl PartialEq for ImportanceProfile
Source§impl Serialize for ImportanceProfile
impl Serialize for ImportanceProfile
impl StructuralPartialEq for ImportanceProfile
Auto Trait Implementations§
impl Freeze for ImportanceProfile
impl RefUnwindSafe for ImportanceProfile
impl Send for ImportanceProfile
impl Sync for ImportanceProfile
impl Unpin for ImportanceProfile
impl UnsafeUnpin for ImportanceProfile
impl UnwindSafe for ImportanceProfile
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