pub struct Verdict {
pub broken: Vec<String>,
pub rotten_rows: Vec<String>,
pub rotten: BTreeMap<Node, Vec<String>>,
pub base_unusable: Option<String>,
}Expand description
What a set of failed rows says about the batch.
Fields§
§broken: Vec<String>Rows that pass on the base: the batch broke them. Non-empty means the batch is rejected. In the order given.
rotten_rows: Vec<String>Rows that fail on the base too, in the order given.
rotten: BTreeMap<Node, Vec<String>>The units each rotten row belongs to: rotten units, sorted, each with its rotten rows in the order given.
base_unusable: Option<String>Why the base could not judge the rows, when it could not (its setup failed); every row is then blamed on the batch.
Implementations§
Trait Implementations§
impl Eq for Verdict
impl StructuralPartialEq for Verdict
Auto Trait Implementations§
impl Forget for Verdict
impl Freeze for Verdict
impl Move for Verdict
impl RefUnwindSafe for Verdict
impl Send for Verdict
impl Sync for Verdict
impl Unpin for Verdict
impl UnsafeUnpin for Verdict
impl UnwindSafe for Verdict
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