pub struct ValidatedCommit {
pub hash: String,
pub summary: String,
pub valid: bool,
pub violations: Vec<CommitViolation>,
}Expand description
Result of validating a single commit
Fields§
§hash: String§summary: String§valid: bool§violations: Vec<CommitViolation>Trait Implementations§
Source§impl Clone for ValidatedCommit
impl Clone for ValidatedCommit
Source§fn clone(&self) -> ValidatedCommit
fn clone(&self) -> ValidatedCommit
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 ValidatedCommit
impl RefUnwindSafe for ValidatedCommit
impl Send for ValidatedCommit
impl Sync for ValidatedCommit
impl Unpin for ValidatedCommit
impl UnsafeUnpin for ValidatedCommit
impl UnwindSafe for ValidatedCommit
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