pub struct SubmoduleSummary {Show 14 fields
pub name: String,
pub relative_path: String,
pub files_analyzed: u64,
pub total_physical_lines: u64,
pub code_lines: u64,
pub comment_lines: u64,
pub blank_lines: u64,
pub language_summaries: Vec<LanguageSummary>,
pub git_commit_short: Option<String>,
pub git_commit_long: Option<String>,
pub git_branch: Option<String>,
pub git_commit_author: Option<String>,
pub git_commit_date: Option<String>,
pub git_remote_url: Option<String>,
}Expand description
Per-submodule aggregated stats produced when submodule_breakdown is enabled.
Fields§
§name: String§relative_path: String§files_analyzed: u64§total_physical_lines: u64§code_lines: u64§comment_lines: u64§blank_lines: u64§language_summaries: Vec<LanguageSummary>§git_commit_short: Option<String>Short commit SHA (7 chars) of the submodule’s own HEAD at scan time.
git_commit_long: Option<String>Full commit SHA of the submodule’s own HEAD at scan time.
git_branch: Option<String>Branch name active in the submodule at scan time.
Author of the submodule’s most recent commit at scan time.
git_commit_date: Option<String>ISO 8601 author-date of the submodule’s most recent commit.
git_remote_url: Option<String>URL of the submodule’s origin remote as recorded in its .git/config.
Trait Implementations§
Source§impl Clone for SubmoduleSummary
impl Clone for SubmoduleSummary
Source§fn clone(&self) -> SubmoduleSummary
fn clone(&self) -> SubmoduleSummary
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 SubmoduleSummary
impl Debug for SubmoduleSummary
Source§impl<'de> Deserialize<'de> for SubmoduleSummary
impl<'de> Deserialize<'de> for SubmoduleSummary
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 SubmoduleSummary
impl RefUnwindSafe for SubmoduleSummary
impl Send for SubmoduleSummary
impl Sync for SubmoduleSummary
impl Unpin for SubmoduleSummary
impl UnsafeUnpin for SubmoduleSummary
impl UnwindSafe for SubmoduleSummary
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