pub struct FolderSummary {
pub path: String,
pub files: u64,
pub lines: u64,
pub tokens: u64,
pub bytes: u64,
pub duplicated_lines: u64,
pub complexity: u64,
}Expand description
Per-folder rollup. Files are counted in their direct parent directory only (no cumulative ancestor totals), so every file contributes to exactly one folder row and rows are directly comparable.
Fields§
§path: String§files: u64§lines: u64§tokens: u64§bytes: u64§duplicated_lines: u64§complexity: u64Sum of per-file complexity estimates (divide by files for the mean).
Trait Implementations§
Source§impl Clone for FolderSummary
impl Clone for FolderSummary
Source§impl Debug for FolderSummary
impl Debug for FolderSummary
Source§impl<'de> Deserialize<'de> for FolderSummary
impl<'de> Deserialize<'de> for FolderSummary
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 Eq for FolderSummary
Source§impl PartialEq for FolderSummary
impl PartialEq for FolderSummary
Source§impl Serialize for FolderSummary
impl Serialize for FolderSummary
impl StructuralPartialEq for FolderSummary
Auto Trait Implementations§
impl Freeze for FolderSummary
impl RefUnwindSafe for FolderSummary
impl Send for FolderSummary
impl Sync for FolderSummary
impl Unpin for FolderSummary
impl UnsafeUnpin for FolderSummary
impl UnwindSafe for FolderSummary
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