pub struct ExcludedItem {
pub item: ItemId,
pub reasons: Vec<ExclusionReason>,
}Expand description
One item that appeared in both runs and could not be paired.
Fields§
§item: ItemIdWhich item.
reasons: Vec<ExclusionReason>Why its pairing did not survive. An item can hit more than one reason at once — an edited fixture and rewritten testimony — and both are said.
Implementations§
Source§impl ExcludedItem
impl ExcludedItem
Sourcepub fn is_corpus_defect(&self) -> bool
pub fn is_corpus_defect(&self) -> bool
Returns true when one of the reasons is evidence that something
rewrote a recorded part.
Trait Implementations§
Source§impl Clone for ExcludedItem
impl Clone for ExcludedItem
Source§impl Debug for ExcludedItem
impl Debug for ExcludedItem
Source§impl<'de> Deserialize<'de> for ExcludedItem
impl<'de> Deserialize<'de> for ExcludedItem
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
Source§impl Display for ExcludedItem
impl Display for ExcludedItem
Source§impl PartialEq for ExcludedItem
impl PartialEq for ExcludedItem
Source§impl Serialize for ExcludedItem
impl Serialize for ExcludedItem
impl StructuralPartialEq for ExcludedItem
Auto Trait Implementations§
impl Freeze for ExcludedItem
impl RefUnwindSafe for ExcludedItem
impl Send for ExcludedItem
impl Sync for ExcludedItem
impl Unpin for ExcludedItem
impl UnsafeUnpin for ExcludedItem
impl UnwindSafe for ExcludedItem
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