pub struct CommitQualityAnalysis {
pub commits: Vec<CommitQualityScore>,
pub total_commits: usize,
pub avg_score: f64,
pub high_quality_count: usize,
pub low_quality_count: usize,
}Expand description
Quality Score分析結果
Fields§
§commits: Vec<CommitQualityScore>コミット一覧(スコア降順)
total_commits: usize総コミット数
avg_score: f64平均スコア
high_quality_count: usize高品質コミット数(スコア >= 0.6)
low_quality_count: usize低品質コミット数(スコア < 0.4)
Implementations§
Source§impl CommitQualityAnalysis
impl CommitQualityAnalysis
Sourcepub fn commit_count(&self) -> usize
pub fn commit_count(&self) -> usize
コミット数を取得
Trait Implementations§
Source§impl Clone for CommitQualityAnalysis
impl Clone for CommitQualityAnalysis
Source§fn clone(&self) -> CommitQualityAnalysis
fn clone(&self) -> CommitQualityAnalysis
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 CommitQualityAnalysis
impl Debug for CommitQualityAnalysis
Source§impl Default for CommitQualityAnalysis
impl Default for CommitQualityAnalysis
Source§fn default() -> CommitQualityAnalysis
fn default() -> CommitQualityAnalysis
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CommitQualityAnalysis
impl RefUnwindSafe for CommitQualityAnalysis
impl Send for CommitQualityAnalysis
impl Sync for CommitQualityAnalysis
impl Unpin for CommitQualityAnalysis
impl UnwindSafe for CommitQualityAnalysis
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,
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