pub struct ScopeAnalysis {
pub consistent_scope: Option<String>,
pub scope_changes: Vec<String>,
pub confidence: f32,
}Expand description
Analysis of scope consistency across commits.
Fields§
§consistent_scope: Option<String>Most consistent scope across commits if any.
scope_changes: Vec<String>All scope changes detected.
confidence: f32Confidence level in scope consistency (0.0-1.0).
Trait Implementations§
Source§impl Clone for ScopeAnalysis
impl Clone for ScopeAnalysis
Source§fn clone(&self) -> ScopeAnalysis
fn clone(&self) -> ScopeAnalysis
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 ScopeAnalysis
impl Debug for ScopeAnalysis
Source§impl Default for ScopeAnalysis
impl Default for ScopeAnalysis
Source§fn default() -> ScopeAnalysis
fn default() -> ScopeAnalysis
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ScopeAnalysis
impl<'de> Deserialize<'de> for ScopeAnalysis
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 ScopeAnalysis
impl RefUnwindSafe for ScopeAnalysis
impl Send for ScopeAnalysis
impl Sync for ScopeAnalysis
impl Unpin for ScopeAnalysis
impl UnsafeUnpin for ScopeAnalysis
impl UnwindSafe for ScopeAnalysis
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