pub struct ResponseValidationResult {
pub valid: bool,
pub errors: Vec<String>,
}
Expand description
Response validation result
Fields§
§valid: bool
Whether the response is valid
errors: Vec<String>
Validation errors
Implementations§
Trait Implementations§
Source§impl Clone for ResponseValidationResult
impl Clone for ResponseValidationResult
Source§fn clone(&self) -> ResponseValidationResult
fn clone(&self) -> ResponseValidationResult
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 ResponseValidationResult
impl RefUnwindSafe for ResponseValidationResult
impl Send for ResponseValidationResult
impl Sync for ResponseValidationResult
impl Unpin for ResponseValidationResult
impl UnwindSafe for ResponseValidationResult
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