pub struct JitPurpose {
pub is_fix: bool,
pub is_security_fix: bool,
pub is_revert: bool,
}Available on crate feature
vcs-git only.Expand description
Keyword classification of the commit message (Kamei FIX, plus the
security and revert refinements this crate already detects).
Fields§
§is_fix: boolThe message matched a bug-fix keyword.
is_security_fix: boolThe message matched a security-fix keyword.
is_revert: boolThe commit is a revert / rollback.
Trait Implementations§
Source§impl Clone for JitPurpose
impl Clone for JitPurpose
Source§fn clone(&self) -> JitPurpose
fn clone(&self) -> JitPurpose
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for JitPurpose
Source§impl Debug for JitPurpose
impl Debug for JitPurpose
Source§impl Default for JitPurpose
impl Default for JitPurpose
Source§fn default() -> JitPurpose
fn default() -> JitPurpose
Returns the “default value” for a type. Read more
impl Eq for JitPurpose
Source§impl PartialEq for JitPurpose
impl PartialEq for JitPurpose
Source§impl Serialize for JitPurpose
impl Serialize for JitPurpose
impl StructuralPartialEq for JitPurpose
Auto Trait Implementations§
impl Freeze for JitPurpose
impl RefUnwindSafe for JitPurpose
impl Send for JitPurpose
impl Sync for JitPurpose
impl Unpin for JitPurpose
impl UnsafeUnpin for JitPurpose
impl UnwindSafe for JitPurpose
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.