pub struct ConventionalCommit {
pub commit_type: String,
pub scope: Option<String>,
pub is_breaking: bool,
pub description: String,
}Expand description
Parsed Conventional Commit record.
Fields§
§commit_type: StringCommit type (e.g., “feat”, “fix”, “chore”).
scope: Option<String>Optional scope qualifier (e.g., Some(“auth”) for feat(auth): ...).
is_breaking: boolWhether the commit introduces a breaking change.
description: StringSummary description from the subject line.
Trait Implementations§
Source§impl Clone for ConventionalCommit
impl Clone for ConventionalCommit
Source§impl Debug for ConventionalCommit
impl Debug for ConventionalCommit
impl Eq for ConventionalCommit
Source§impl PartialEq for ConventionalCommit
impl PartialEq for ConventionalCommit
impl StructuralPartialEq for ConventionalCommit
Auto Trait Implementations§
impl Freeze for ConventionalCommit
impl RefUnwindSafe for ConventionalCommit
impl Send for ConventionalCommit
impl Sync for ConventionalCommit
impl Unpin for ConventionalCommit
impl UnsafeUnpin for ConventionalCommit
impl UnwindSafe for ConventionalCommit
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.