[][src]Struct conventional_commit::ConventionalCommit

pub struct ConventionalCommit { /* fields omitted */ }

A conventional commit.

Methods

impl ConventionalCommit[src]

pub fn type_(&self) -> &str[src]

The type of the commit.

pub fn scope(&self) -> Option<&str>[src]

The optional scope of the commit.

pub fn description(&self) -> &str[src]

The commit description.

pub fn body(&self) -> Option<&str>[src]

The commit body, containing a more detailed explanation of the commit changes.

pub fn breaking_change(&self) -> Option<&str>[src]

The text discussing any breaking changes.

Trait Implementations

impl Display for ConventionalCommit[src]

impl Debug for ConventionalCommit[src]

impl FromStr for ConventionalCommit[src]

type Err = Error

The associated error which can be returned from parsing.

Auto Trait Implementations

Blanket Implementations

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

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

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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