pub struct CommitData {
pub title: String,
pub description: String,
pub prefix: Option<String>,
pub emoji: Option<String>,
pub scope: Option<String>,
}Fields§
§title: String§description: String§prefix: Option<String>§emoji: Option<String>§scope: Option<String>Implementations§
Source§impl CommitData
impl CommitData
pub fn from_message(message: &str) -> Self
Trait Implementations§
Source§impl Clone for CommitData
impl Clone for CommitData
Source§fn clone(&self) -> CommitData
fn clone(&self) -> CommitData
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 CommitData
impl RefUnwindSafe for CommitData
impl Send for CommitData
impl Sync for CommitData
impl Unpin for CommitData
impl UnwindSafe for CommitData
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