pub enum CommitIntentKind {
Feat,
Fix,
Refactor,
Docs,
Test,
Chore,
Ci,
Build,
Perf,
Style,
Revert,
Other,
}Expand description
Classification of a commit’s intent, derived from subject line.
Lives in tokmd-types (Tier 0) so that both tokmd-git (Tier 2) and
tokmd-analysis-types (Tier 0) can reference it without creating
upward dependency edges.
Variants§
Trait Implementations§
Source§impl Clone for CommitIntentKind
impl Clone for CommitIntentKind
Source§fn clone(&self) -> CommitIntentKind
fn clone(&self) -> CommitIntentKind
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 CommitIntentKind
impl Debug for CommitIntentKind
Source§impl<'de> Deserialize<'de> for CommitIntentKind
impl<'de> Deserialize<'de> for CommitIntentKind
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
Source§impl Hash for CommitIntentKind
impl Hash for CommitIntentKind
Source§impl PartialEq for CommitIntentKind
impl PartialEq for CommitIntentKind
Source§impl Serialize for CommitIntentKind
impl Serialize for CommitIntentKind
impl Copy for CommitIntentKind
impl Eq for CommitIntentKind
impl StructuralPartialEq for CommitIntentKind
Auto Trait Implementations§
impl Freeze for CommitIntentKind
impl RefUnwindSafe for CommitIntentKind
impl Send for CommitIntentKind
impl Sync for CommitIntentKind
impl Unpin for CommitIntentKind
impl UnsafeUnpin for CommitIntentKind
impl UnwindSafe for CommitIntentKind
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