pub struct CommitAnalysisFromCommits {
pub detected_type: String,
pub detected_scope: String,
}Expand description
Commit analysis stripped of all diff-related content.
Used by the --from-commits PR generation path, which drives the AI
from commit messages alone. Carries only pre-computed metadata that
does not require reading any diff content from disk.
Fields§
§detected_type: StringAutomatically detected conventional commit type (feat, fix, docs, etc.).
detected_scope: StringAutomatically detected scope based on file paths (cli, git, data, etc.).
Trait Implementations§
Source§impl Clone for CommitAnalysisFromCommits
impl Clone for CommitAnalysisFromCommits
Source§fn clone(&self) -> CommitAnalysisFromCommits
fn clone(&self) -> CommitAnalysisFromCommits
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 CommitAnalysisFromCommits
impl Debug for CommitAnalysisFromCommits
Source§impl<'de> Deserialize<'de> for CommitAnalysisFromCommits
impl<'de> Deserialize<'de> for CommitAnalysisFromCommits
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 CommitAnalysisFromCommits
impl RefUnwindSafe for CommitAnalysisFromCommits
impl Send for CommitAnalysisFromCommits
impl Sync for CommitAnalysisFromCommits
impl Unpin for CommitAnalysisFromCommits
impl UnsafeUnpin for CommitAnalysisFromCommits
impl UnwindSafe for CommitAnalysisFromCommits
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