pub struct CodeSummary {
pub languages: Vec<CodeLanguageSummary>,
pub total_files: usize,
pub total_lines: usize,
pub code_lines: usize,
pub comment_lines: usize,
pub blank_lines: usize,
}Fields§
§languages: Vec<CodeLanguageSummary>§total_files: usize§total_lines: usize§code_lines: usize§comment_lines: usize§blank_lines: usizeTrait Implementations§
Source§impl Clone for CodeSummary
impl Clone for CodeSummary
Source§fn clone(&self) -> CodeSummary
fn clone(&self) -> CodeSummary
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 CodeSummary
impl Debug for CodeSummary
Source§impl Default for CodeSummary
impl Default for CodeSummary
Source§fn default() -> CodeSummary
fn default() -> CodeSummary
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CodeSummary
impl<'de> Deserialize<'de> for CodeSummary
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 CodeSummary
impl PartialEq for CodeSummary
Source§fn eq(&self, other: &CodeSummary) -> bool
fn eq(&self, other: &CodeSummary) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CodeSummary
impl Serialize for CodeSummary
impl Eq for CodeSummary
impl StructuralPartialEq for CodeSummary
Auto Trait Implementations§
impl Freeze for CodeSummary
impl RefUnwindSafe for CodeSummary
impl Send for CodeSummary
impl Sync for CodeSummary
impl Unpin for CodeSummary
impl UnsafeUnpin for CodeSummary
impl UnwindSafe for CodeSummary
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