pub struct ValidatorResult {
pub errors: Vec<String>,
pub warnings: Vec<String>,
}Expand description
Result returned by validator functions
Fields§
§errors: Vec<String>Validation errors
warnings: Vec<String>Validation warnings
Trait Implementations§
Source§impl Clone for ValidatorResult
impl Clone for ValidatorResult
Source§fn clone(&self) -> ValidatorResult
fn clone(&self) -> ValidatorResult
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 moreSource§impl Debug for ValidatorResult
impl Debug for ValidatorResult
Source§impl Default for ValidatorResult
impl Default for ValidatorResult
Source§fn default() -> ValidatorResult
fn default() -> ValidatorResult
Returns the “default value” for a type. Read more
Source§impl PartialEq for ValidatorResult
impl PartialEq for ValidatorResult
impl Eq for ValidatorResult
impl StructuralPartialEq for ValidatorResult
Auto Trait Implementations§
impl Freeze for ValidatorResult
impl RefUnwindSafe for ValidatorResult
impl Send for ValidatorResult
impl Sync for ValidatorResult
impl Unpin for ValidatorResult
impl UnwindSafe for ValidatorResult
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