pub struct ValidationCheck {
pub name: String,
pub is_valid: bool,
pub errors: Vec<String>,
pub warnings: Vec<String>,
}
Expand description
Individual validation check result
Fields§
§name: String
Name of the check
is_valid: bool
Whether the check passed
errors: Vec<String>
List of errors (empty if valid)
warnings: Vec<String>
List of warnings
Trait Implementations§
Source§impl Clone for ValidationCheck
impl Clone for ValidationCheck
Source§fn clone(&self) -> ValidationCheck
fn clone(&self) -> ValidationCheck
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 ValidationCheck
impl Debug for ValidationCheck
Source§impl<'de> Deserialize<'de> for ValidationCheck
impl<'de> Deserialize<'de> for ValidationCheck
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 ValidationCheck
impl RefUnwindSafe for ValidationCheck
impl Send for ValidationCheck
impl Sync for ValidationCheck
impl Unpin for ValidationCheck
impl UnwindSafe for ValidationCheck
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