pub struct ValidationReport {
pub errors: Vec<ValidationError>,
pub warnings: Vec<ValidationWarning>,
}Expand description
The result of running all validation passes over a Chronicle.
Contains collected errors (hard violations that indicate inconsistent data) and warnings (soft issues like orphan entities that may be intentional).
Fields§
§errors: Vec<ValidationError>Hard validation failures: dangling references, temporal impossibilities, and state violations (e.g. a dead actor participating in a future event).
warnings: Vec<ValidationWarning>Soft issues that do not necessarily indicate broken data, such as entities with no incoming or outgoing relationships.
Implementations§
Trait Implementations§
Source§impl Debug for ValidationReport
impl Debug for ValidationReport
Source§impl Default for ValidationReport
impl Default for ValidationReport
Source§fn default() -> ValidationReport
fn default() -> ValidationReport
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ValidationReport
impl RefUnwindSafe for ValidationReport
impl Send for ValidationReport
impl Sync for ValidationReport
impl Unpin for ValidationReport
impl UnsafeUnpin for ValidationReport
impl UnwindSafe for ValidationReport
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