pub struct StandardResult {
pub value: Option<Value>,
pub issues: Vec<StandardIssue>,
}Expand description
The outcome of a Standard Schema validation: the produced value, or the issues, never both.
Fields§
§value: Option<Value>§issues: Vec<StandardIssue>Trait Implementations§
Source§impl Clone for StandardResult
impl Clone for StandardResult
Source§fn clone(&self) -> StandardResult
fn clone(&self) -> StandardResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StandardResult
impl Debug for StandardResult
Source§impl PartialEq for StandardResult
impl PartialEq for StandardResult
impl StructuralPartialEq for StandardResult
Auto Trait Implementations§
impl Freeze for StandardResult
impl RefUnwindSafe for StandardResult
impl Send for StandardResult
impl Sync for StandardResult
impl Unpin for StandardResult
impl UnsafeUnpin for StandardResult
impl UnwindSafe for StandardResult
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