pub struct Adjudication {
pub title: String,
pub file: String,
pub agrees: bool,
pub severity: Severity,
pub reasoning: String,
}Expand description
One reviewer’s judgement of a finding the other reviewer raised.
This is the whole point of review only mode. A finding both models raise independently is worth a maintainer’s attention; a finding one raised and the other examined and rejected is usually not, and saying so is more useful than forwarding both.
Fields§
§title: String§file: String§agrees: boolWhether the defect is real, judged by reading the code rather than by deferring to the other reviewer.
severity: SeverityThis reviewer’s own view of how badly it matters.
reasoning: StringTrait Implementations§
Source§impl Clone for Adjudication
impl Clone for Adjudication
Source§fn clone(&self) -> Adjudication
fn clone(&self) -> Adjudication
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 Adjudication
impl Debug for Adjudication
Source§impl<'de> Deserialize<'de> for Adjudication
impl<'de> Deserialize<'de> for Adjudication
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Adjudication
impl RefUnwindSafe for Adjudication
impl Send for Adjudication
impl Sync for Adjudication
impl Unpin for Adjudication
impl UnsafeUnpin for Adjudication
impl UnwindSafe for Adjudication
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