pub enum Token {
CommitType(String),
Scope(String),
BreakingChangeMarker,
Description(String),
Body(String),
Footer(String),
}Variants§
CommitType(String)
The type of the commit, e.g., “feat”, “fix”, “docs”, etc.
Scope(String)
The scope of the commit, if provided.
BreakingChangeMarker
Indicates a breaking change in the commit.
Description(String)
The short description of the commit.
Body(String)
The body of the commit message, providing additional contextual information.
The footer of the commit message, often used for referencing issues.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Token
impl RefUnwindSafe for Token
impl Send for Token
impl Sync for Token
impl Unpin for Token
impl UnwindSafe for Token
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