pub struct CompilerErrorDetailInfo {
pub category: String,
pub reason: String,
pub description: Option<String>,
pub severity: String,
pub suggestions: Option<Vec<LoggerSuggestionInfo>>,
pub details: Option<Vec<CompilerErrorItemInfo>>,
pub loc: Option<LoggerSourceLocation>,
}Expand description
Serializable error detail — flat plain object matching the TS
formatDetailForLogging() output. All fields are direct properties.
Fields§
§category: String§reason: String§description: Option<String>§severity: String§suggestions: Option<Vec<LoggerSuggestionInfo>>§details: Option<Vec<CompilerErrorItemInfo>>§loc: Option<LoggerSourceLocation>Trait Implementations§
Source§impl Clone for CompilerErrorDetailInfo
impl Clone for CompilerErrorDetailInfo
Source§fn clone(&self) -> CompilerErrorDetailInfo
fn clone(&self) -> CompilerErrorDetailInfo
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 CompilerErrorDetailInfo
impl Debug for CompilerErrorDetailInfo
Auto Trait Implementations§
impl Freeze for CompilerErrorDetailInfo
impl RefUnwindSafe for CompilerErrorDetailInfo
impl Send for CompilerErrorDetailInfo
impl Sync for CompilerErrorDetailInfo
impl Unpin for CompilerErrorDetailInfo
impl UnsafeUnpin for CompilerErrorDetailInfo
impl UnwindSafe for CompilerErrorDetailInfo
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