pub struct CommitBody {
pub body_text: String,
pub footer_lines: Vec<String>,
}Expand description
The full body of a commit (body + footer sections)
Fields§
§body_text: StringTrait Implementations§
Source§impl Clone for CommitBody
impl Clone for CommitBody
Source§fn clone(&self) -> CommitBody
fn clone(&self) -> CommitBody
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 CommitBody
impl RefUnwindSafe for CommitBody
impl Send for CommitBody
impl Sync for CommitBody
impl Unpin for CommitBody
impl UnsafeUnpin for CommitBody
impl UnwindSafe for CommitBody
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