pub struct ParsedHeader {
pub type_name: String,
pub scope: Option<String>,
pub is_breaking: bool,
pub subject: String,
pub emoji: Option<String>,
}Expand description
Parsed components of a commit header
Fields§
§type_name: String§scope: Option<String>§is_breaking: bool§subject: String§emoji: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for ParsedHeader
impl Clone for ParsedHeader
Source§fn clone(&self) -> ParsedHeader
fn clone(&self) -> ParsedHeader
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 moreAuto Trait Implementations§
impl Freeze for ParsedHeader
impl RefUnwindSafe for ParsedHeader
impl Send for ParsedHeader
impl Sync for ParsedHeader
impl Unpin for ParsedHeader
impl UnsafeUnpin for ParsedHeader
impl UnwindSafe for ParsedHeader
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