pub struct MetricsTotals {
pub files: usize,
pub loc: u32,
pub sloc: u32,
pub functions: u32,
pub mean_maintainability_index: f64,
}Expand description
Project-wide metric totals.
Fields§
§files: usize§loc: u32§sloc: u32§functions: u32§mean_maintainability_index: f64Mean Maintainability Index across files.
Trait Implementations§
Source§impl Clone for MetricsTotals
impl Clone for MetricsTotals
Source§fn clone(&self) -> MetricsTotals
fn clone(&self) -> MetricsTotals
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MetricsTotals
impl Debug for MetricsTotals
Source§impl Default for MetricsTotals
impl Default for MetricsTotals
Source§fn default() -> MetricsTotals
fn default() -> MetricsTotals
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MetricsTotals
impl<'de> Deserialize<'de> for MetricsTotals
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 MetricsTotals
impl PartialEq for MetricsTotals
Source§fn eq(&self, other: &MetricsTotals) -> bool
fn eq(&self, other: &MetricsTotals) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for MetricsTotals
impl Serialize for MetricsTotals
impl StructuralPartialEq for MetricsTotals
Auto Trait Implementations§
impl Freeze for MetricsTotals
impl RefUnwindSafe for MetricsTotals
impl Send for MetricsTotals
impl Sync for MetricsTotals
impl Unpin for MetricsTotals
impl UnsafeUnpin for MetricsTotals
impl UnwindSafe for MetricsTotals
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