pub struct ReportMessage {
pub severity: Severity,
pub code: String,
pub message: String,
pub additional_message: String,
pub notes: Vec<String>,
}
Fields§
§severity: Severity
§code: String
§message: String
§additional_message: String
§notes: Vec<String>
Implementations§
Trait Implementations§
Source§impl Debug for ReportMessage
impl Debug for ReportMessage
Source§impl From<CompilerCrash> for ReportMessage
impl From<CompilerCrash> for ReportMessage
Source§fn from(value: CompilerCrash) -> Self
fn from(value: CompilerCrash) -> Self
Converts to this type from the input type.
Source§impl From<Infallible> for ReportMessage
impl From<Infallible> for ReportMessage
Source§fn from(_: Infallible) -> Self
fn from(_: Infallible) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ReportMessage
impl RefUnwindSafe for ReportMessage
impl Send for ReportMessage
impl Sync for ReportMessage
impl Unpin for ReportMessage
impl UnwindSafe for ReportMessage
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