pub struct ValidationOutcome {
pub id: usize,
pub passed: bool,
pub duration: Duration,
}Expand description
Result of running one validation.
Fields§
§id: usizeValidator id.
passed: boolWhether validation passed.
duration: DurationObserved execution time.
Trait Implementations§
Source§impl Clone for ValidationOutcome
impl Clone for ValidationOutcome
Source§fn clone(&self) -> ValidationOutcome
fn clone(&self) -> ValidationOutcome
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ValidationOutcome
impl RefUnwindSafe for ValidationOutcome
impl Send for ValidationOutcome
impl Sync for ValidationOutcome
impl Unpin for ValidationOutcome
impl UnsafeUnpin for ValidationOutcome
impl UnwindSafe for ValidationOutcome
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