pub struct ValidationCheck {
pub name: String,
pub passed: bool,
pub detail: String,
pub severity: String,
}Expand description
A single validation check result.
Fields§
§name: StringName of the check (e.g. “part_0_convex”, “area_conservation”).
passed: booltrue = passed, false = failed.
detail: StringHuman-readable detail (error message or “OK”).
severity: StringSeverity: “error” = would fail on-chain, “warn” = suspicious but allowed.
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 (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 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 UnsafeUnpin 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