pub enum SafetyVerdict {
Upholds,
Violation(Violation),
}Expand description
Verdict of check on one resolved merge.
Variants§
Upholds
Every edit the merge applied to the target was proposed by the author.
Violation(Violation)
The merge edited the target beyond the proposal; the evidence names the unattributable lines.
Trait Implementations§
Source§impl Clone for SafetyVerdict
impl Clone for SafetyVerdict
Source§fn clone(&self) -> SafetyVerdict
fn clone(&self) -> SafetyVerdict
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SafetyVerdict
impl Debug for SafetyVerdict
Source§impl PartialEq for SafetyVerdict
impl PartialEq for SafetyVerdict
Source§fn eq(&self, other: &SafetyVerdict) -> bool
fn eq(&self, other: &SafetyVerdict) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for SafetyVerdict
impl StructuralPartialEq for SafetyVerdict
Auto Trait Implementations§
impl Freeze for SafetyVerdict
impl RefUnwindSafe for SafetyVerdict
impl Send for SafetyVerdict
impl Sync for SafetyVerdict
impl Unpin for SafetyVerdict
impl UnsafeUnpin for SafetyVerdict
impl UnwindSafe for SafetyVerdict
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