pub struct DiagnoseReport {
pub valid: bool,
pub kind: &'static str,
pub error: Option<Diagnostic>,
pub errors: Vec<Diagnostic>,
}Expand description
Result of diagnose.
Fields§
§valid: bool§kind: &'static str§error: Option<Diagnostic>§errors: Vec<Diagnostic>All diagnostics collected for this source (parse/check). The first
entry is the same as Self::error when present.
Implementations§
Trait Implementations§
Source§impl Clone for DiagnoseReport
impl Clone for DiagnoseReport
Source§impl Debug for DiagnoseReport
impl Debug for DiagnoseReport
Source§impl PartialEq for DiagnoseReport
impl PartialEq for DiagnoseReport
impl StructuralPartialEq for DiagnoseReport
Auto Trait Implementations§
impl Freeze for DiagnoseReport
impl RefUnwindSafe for DiagnoseReport
impl Send for DiagnoseReport
impl Sync for DiagnoseReport
impl Unpin for DiagnoseReport
impl UnsafeUnpin for DiagnoseReport
impl UnwindSafe for DiagnoseReport
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