pub struct Totals {
pub code: usize,
pub lines: usize,
pub files: usize,
pub bytes: usize,
pub tokens: usize,
pub avg_lines: usize,
}Expand description
A small totals struct shared by summary outputs.
Fields§
§code: usize§lines: usize§files: usize§bytes: usize§tokens: usize§avg_lines: usizeTrait Implementations§
Source§impl<'de> Deserialize<'de> for Totals
impl<'de> Deserialize<'de> for Totals
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 Totals
impl StructuralPartialEq for Totals
Auto Trait Implementations§
impl Freeze for Totals
impl RefUnwindSafe for Totals
impl Send for Totals
impl Sync for Totals
impl Unpin for Totals
impl UnsafeUnpin for Totals
impl UnwindSafe for Totals
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