#[non_exhaustive]pub struct AnalyzeResult {
pub bindings: Vec<Binding>,
pub entries: Vec<EvalEntry>,
pub groups: Vec<Group>,
pub total: u32,
pub excluded: u32,
}Expand description
Top-level output from codedash analyze -o json.
Contains evaluated entries with both raw metrics and visual encoding values, plus metadata (bindings, groups, totals).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.bindings: Vec<Binding>Metric-to-percept bindings defining how code metrics map to visual channels.
entries: Vec<EvalEntry>Evaluated code units with raw metrics and visual encoding values.
groups: Vec<Group>Domain groups with count and percentage.
total: u32Total number of analyzed nodes.
excluded: u32Number of excluded nodes.
Implementations§
Trait Implementations§
Source§impl Clone for AnalyzeResult
impl Clone for AnalyzeResult
Source§fn clone(&self) -> AnalyzeResult
fn clone(&self) -> AnalyzeResult
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 AnalyzeResult
impl Debug for AnalyzeResult
Source§impl<'de> Deserialize<'de> for AnalyzeResult
impl<'de> Deserialize<'de> for AnalyzeResult
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 PartialEq for AnalyzeResult
impl PartialEq for AnalyzeResult
Source§impl Serialize for AnalyzeResult
impl Serialize for AnalyzeResult
impl StructuralPartialEq for AnalyzeResult
Auto Trait Implementations§
impl Freeze for AnalyzeResult
impl RefUnwindSafe for AnalyzeResult
impl Send for AnalyzeResult
impl Sync for AnalyzeResult
impl Unpin for AnalyzeResult
impl UnsafeUnpin for AnalyzeResult
impl UnwindSafe for AnalyzeResult
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