pub struct ValidationReport {
pub file_path: String,
pub status: ReportStatus,
pub version: String,
pub metadata: ReportMetadata,
pub performance: PerformanceMetrics,
pub diagnostics: Vec<Diagnostic>,
}Fields§
§file_path: String§status: ReportStatus§version: String§metadata: ReportMetadata§performance: PerformanceMetrics§diagnostics: Vec<Diagnostic>Implementations§
Source§impl ValidationReport
impl ValidationReport
Sourcepub fn to_report(&self, detail_level: DetailLevel) -> ValidationReport
pub fn to_report(&self, detail_level: DetailLevel) -> ValidationReport
Projects this report into its serializable shape, applying detail_level
to every diagnostic.
Trait Implementations§
Source§impl Clone for ValidationReport
impl Clone for ValidationReport
Source§impl Debug for ValidationReport
impl Debug for ValidationReport
Source§impl<'de> Deserialize<'de> for ValidationReport
impl<'de> Deserialize<'de> for ValidationReport
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 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