pub struct ConventionalCommit {
pub sha: String,
pub type: String,
pub scope: Option<String>,
pub description: String,
pub body: Option<String>,
pub breaking: bool,
pub author: Option<String>,
}Expand description
A commit parsed according to the Conventional Commits specification.
Fields§
§sha: String§type: String§scope: Option<String>§description: String§body: Option<String>§breaking: boolTrait Implementations§
Source§impl Clone for ConventionalCommit
impl Clone for ConventionalCommit
Source§fn clone(&self) -> ConventionalCommit
fn clone(&self) -> ConventionalCommit
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 ConventionalCommit
impl Debug 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 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