Struct git_cliff_core::config::CommitParser
source · pub struct CommitParser {
pub message: Option<Regex>,
pub body: Option<Regex>,
pub group: Option<String>,
pub default_scope: Option<String>,
pub scope: Option<String>,
pub skip: Option<bool>,
}
Expand description
Parser for grouping commits.
Fields§
§message: Option<Regex>
Regex for matching the commit message.
body: Option<Regex>
Regex for matching the commit body.
group: Option<String>
Group of the commit.
default_scope: Option<String>
Default scope of the commit.
scope: Option<String>
Commit scope for overriding the default scope.
skip: Option<bool>
Whether to skip this commit group.
Trait Implementations§
source§impl Clone for CommitParser
impl Clone for CommitParser
source§fn clone(&self) -> CommitParser
fn clone(&self) -> CommitParser
Returns a copy 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 CommitParser
impl Debug for CommitParser
source§impl<'de> Deserialize<'de> for CommitParser
impl<'de> Deserialize<'de> for CommitParser
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 RefUnwindSafe for CommitParser
impl Send for CommitParser
impl Sync for CommitParser
impl Unpin for CommitParser
impl UnwindSafe for CommitParser
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