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 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>
Scope of the commit.
skip: Option<bool>
Whether to skip this commit group.
Trait Implementations
sourceimpl Clone for CommitParser
impl Clone for CommitParser
sourcefn clone(&self) -> CommitParser
fn clone(&self) -> CommitParser
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CommitParser
impl Debug for CommitParser
sourceimpl<'de> Deserialize<'de> for CommitParser
impl<'de> Deserialize<'de> for CommitParser
sourcefn 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
sourceimpl Serialize for CommitParser
impl Serialize for CommitParser
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more