Trait Style

Source
pub trait Style {
    // Required methods
    fn subject(&self) -> &str;
    fn body(&self) -> Option<&str>;
    fn type_(&self) -> Option<UniCase<&str>>;
    fn scope(&self) -> Option<UniCase<&str>>;
}

Required Methods§

Source

fn subject(&self) -> &str

Source

fn body(&self) -> Option<&str>

Source

fn type_(&self) -> Option<UniCase<&str>>

Source

fn scope(&self) -> Option<UniCase<&str>>

Implementors§

Source§

impl Style for committed::conventional::Commit<'_>

Source§

impl Style for committed::no_style::Commit<'_>