Trait committed::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<'c> Style for committed::conventional::Commit<'c>

source§

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