pub struct StatRow {
pub lines: u64,
pub tokens: u64,
pub sources: u64,
pub clones: u64,
pub duplicated_lines: u64,
pub duplicated_tokens: u64,
pub percentage: f64,
pub percentage_tokens: f64,
pub new_duplicated_lines: u64,
pub new_clones: u64,
}Expand description
Per-format or total statistics row.
Fields§
§lines: u64§tokens: u64§sources: u64§clones: u64§duplicated_lines: u64§duplicated_tokens: u64§percentage: f64§percentage_tokens: f64§new_duplicated_lines: u64§new_clones: u64Trait Implementations§
Source§impl<'de> Deserialize<'de> for StatRow
impl<'de> Deserialize<'de> for StatRow
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
impl StructuralPartialEq for StatRow
Auto Trait Implementations§
impl Freeze for StatRow
impl RefUnwindSafe for StatRow
impl Send for StatRow
impl Sync for StatRow
impl Unpin for StatRow
impl UnsafeUnpin for StatRow
impl UnwindSafe for StatRow
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more