[][src]Struct git_checks::CommitSubject

pub struct CommitSubject { /* fields omitted */ }

Check commit message subjects for invalid patterns.

Patterns which are checked for:

  • overly long or short summary lines;
  • work-in-progress messages;
  • fixup! and squash! messages; and
  • custom prefixes.

Commit messages which appear to have been auto generated by actions such as merging or reverting commits will skip the summary line length limit (if enforced).

Methods

impl CommitSubject[src]

pub fn builder() -> CommitSubjectBuilder[src]

Create a new builder.

Trait Implementations

impl Clone for CommitSubject[src]

impl Default for CommitSubject[src]

impl Debug for CommitSubject[src]

impl Check for CommitSubject[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Check for T where
    T: ContentCheck
[src]