pub struct Disagreement {
pub finding_id: String,
pub label: String,
pub score_a: f64,
pub score_b: f64,
pub rank_a: Option<usize>,
pub rank_b: Option<usize>,
pub delta: f64,
}Expand description
Compute the disagreement between two observer views. Returns findings sorted by the absolute difference in rank between the two policies — the most contested findings first.
Fields§
§finding_id: String§label: String§score_a: f64§score_b: f64§rank_a: Option<usize>§rank_b: Option<usize>§delta: f64Auto Trait Implementations§
impl Freeze for Disagreement
impl RefUnwindSafe for Disagreement
impl Send for Disagreement
impl Sync for Disagreement
impl Unpin for Disagreement
impl UnsafeUnpin for Disagreement
impl UnwindSafe for Disagreement
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