pub struct CommitImpactAnalysis {
pub commits: Vec<CommitImpactScore>,
pub total_commits: usize,
pub avg_score: f64,
pub max_score: f64,
pub high_impact_count: usize,
}Expand description
Impact Score分析結果
Fields§
§commits: Vec<CommitImpactScore>コミット一覧(スコア降順)
total_commits: usize総コミット数
avg_score: f64平均スコア
max_score: f64最大スコア
high_impact_count: usizeHigh Impact(スコア >= 0.7)のコミット数
Implementations§
Source§impl CommitImpactAnalysis
impl CommitImpactAnalysis
Sourcepub fn commit_count(&self) -> usize
pub fn commit_count(&self) -> usize
コミット数を取得
Trait Implementations§
Source§impl Clone for CommitImpactAnalysis
impl Clone for CommitImpactAnalysis
Source§fn clone(&self) -> CommitImpactAnalysis
fn clone(&self) -> CommitImpactAnalysis
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 CommitImpactAnalysis
impl Debug for CommitImpactAnalysis
Source§impl Default for CommitImpactAnalysis
impl Default for CommitImpactAnalysis
Source§fn default() -> CommitImpactAnalysis
fn default() -> CommitImpactAnalysis
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CommitImpactAnalysis
impl RefUnwindSafe for CommitImpactAnalysis
impl Send for CommitImpactAnalysis
impl Sync for CommitImpactAnalysis
impl Unpin for CommitImpactAnalysis
impl UnwindSafe for CommitImpactAnalysis
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