pub struct SurfaceRank {
pub task_ppr: f64,
pub global_ppr: f64,
pub lexical: f64,
pub semantic: f64,
pub confidence: f64,
pub criticality: f64,
pub change_risk: f64,
pub novelty: f64,
pub total: f64,
pub reasons: Vec<String>,
}Expand description
Why a surface entry earned its rank (explainability; scc surface --explain renders this).
Fields§
§task_ppr: f64§global_ppr: f64§lexical: f64§semantic: f64§confidence: f64§criticality: f64§change_risk: f64§novelty: f64§total: f64§reasons: Vec<String>Trait Implementations§
Source§impl Clone for SurfaceRank
impl Clone for SurfaceRank
Source§impl Debug for SurfaceRank
impl Debug for SurfaceRank
Source§impl Default for SurfaceRank
impl Default for SurfaceRank
Source§impl<'de> Deserialize<'de> for SurfaceRank
impl<'de> Deserialize<'de> for SurfaceRank
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 SurfaceRank
impl JsonSchema for SurfaceRank
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 SurfaceRank
impl PartialEq for SurfaceRank
Source§impl Serialize for SurfaceRank
impl Serialize for SurfaceRank
impl StructuralPartialEq for SurfaceRank
Auto Trait Implementations§
impl Freeze for SurfaceRank
impl RefUnwindSafe for SurfaceRank
impl Send for SurfaceRank
impl Sync for SurfaceRank
impl Unpin for SurfaceRank
impl UnsafeUnpin for SurfaceRank
impl UnwindSafe for SurfaceRank
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