pub struct TopReport {
pub metric: String,
pub top: Vec<TopEntry>,
pub summary: Summary,
}Expand description
Top-level output for --top-*: a flat ranking plus the whole-project summary.
Fields§
§metric: StringThe metric the ranking is sorted by (“cognitive” | “cyclomatic”).
top: Vec<TopEntry>§summary: SummaryTrait Implementations§
Auto Trait Implementations§
impl Freeze for TopReport
impl RefUnwindSafe for TopReport
impl Send for TopReport
impl Sync for TopReport
impl Unpin for TopReport
impl UnsafeUnpin for TopReport
impl UnwindSafe for TopReport
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