pub struct ValidationResponse {
pub id: String,
pub is_valid: bool,
pub errors: Vec<ValidationError>,
pub warnings: Vec<ValidationError>,
}Fields§
§id: String§is_valid: bool§errors: Vec<ValidationError>§warnings: Vec<ValidationError>Trait Implementations§
Source§impl Clone for ValidationResponse
impl Clone for ValidationResponse
Source§fn clone(&self) -> ValidationResponse
fn clone(&self) -> ValidationResponse
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 ValidationResponse
impl Debug for ValidationResponse
Source§impl<'de> Deserialize<'de> for ValidationResponse
impl<'de> Deserialize<'de> for ValidationResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ValidationResponse
impl RefUnwindSafe for ValidationResponse
impl Send for ValidationResponse
impl Sync for ValidationResponse
impl Unpin for ValidationResponse
impl UnwindSafe for ValidationResponse
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