pub struct Conventional {
pub kind: &'static str,
pub is_breaking: bool,
pub removed: Vec<ObjectId>,
pub messages: Vec<Message>,
}Fields§
§kind: &'static strThe git-conventional kind
is_breaking: boolWhether or not the segment contains only breaking changes
removed: Vec<ObjectId>object IDs parsed from markdown with no surrounding text. These are considered removed, so we shouldn’t repopulate them.
messages: Vec<Message>The messages to convey
Implementations§
Source§impl Conventional
impl Conventional
pub const REMOVED_HTML_PREFIX: &'static str = "<csr-id-"
pub const BREAKING_TITLE: &'static str = "BREAKING"
pub const BREAKING_TITLE_ENCLOSED: &'static str = "(BREAKING)"
Trait Implementations§
Source§impl Clone for Conventional
impl Clone for Conventional
Source§fn clone(&self) -> Conventional
fn clone(&self) -> Conventional
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Conventional
impl Debug for Conventional
Source§impl PartialEq for Conventional
impl PartialEq for Conventional
impl Eq for Conventional
impl StructuralPartialEq for Conventional
Auto Trait Implementations§
impl Freeze for Conventional
impl RefUnwindSafe for Conventional
impl Send for Conventional
impl Sync for Conventional
impl Unpin for Conventional
impl UnwindSafe for Conventional
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.