pub struct LangSummary {
pub files: usize,
pub code: usize,
pub lines: usize,
pub bytes: usize,
pub tokens: usize,
}Expand description
Per-language summary in the substrate.
Fields§
§files: usizeNumber of files.
code: usizeLines of code.
lines: usizeTotal lines.
bytes: usizeTotal bytes.
tokens: usizeEstimated tokens.
Trait Implementations§
Source§impl Clone for LangSummary
impl Clone for LangSummary
Source§fn clone(&self) -> LangSummary
fn clone(&self) -> LangSummary
Returns a duplicate of the value. Read more
1.0.0 · 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 LangSummary
impl Debug for LangSummary
Source§impl<'de> Deserialize<'de> for LangSummary
impl<'de> Deserialize<'de> for LangSummary
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
Auto Trait Implementations§
impl Freeze for LangSummary
impl RefUnwindSafe for LangSummary
impl Send for LangSummary
impl Sync for LangSummary
impl Unpin for LangSummary
impl UnsafeUnpin for LangSummary
impl UnwindSafe for LangSummary
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