pub struct Outcome<T> {
pub value: Option<T>,
pub report: Report,
}Expand description
The result of a Validation.
Fields§
§value: Option<T>The value, if it could be deserialized.
The value can hold invalid values (see
Validated), the report lists them.
report: ReportThe problems of the input.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Outcome<T>
impl<T> RefUnwindSafe for Outcome<T>where
Option<T>: RefUnwindSafe,
impl<T> Send for Outcome<T>
impl<T> Sync for Outcome<T>
impl<T> Unpin for Outcome<T>
impl<T> UnsafeUnpin for Outcome<T>where
Option<T>: UnsafeUnpin,
impl<T> UnwindSafe for Outcome<T>where
Option<T>: UnwindSafe,
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