pub struct CompilerErrorItemInfo {
pub kind: String,
pub loc: Option<LoggerSourceLocation>,
pub message: Option<String>,
}Expand description
Individual error or hint item within a CompilerErrorDetailInfo.
Fields§
§kind: String§loc: Option<LoggerSourceLocation>§message: Option<String>Serialized as null when None (not omitted), matching TS behavior.
Trait Implementations§
Source§impl Clone for CompilerErrorItemInfo
impl Clone for CompilerErrorItemInfo
Source§fn clone(&self) -> CompilerErrorItemInfo
fn clone(&self) -> CompilerErrorItemInfo
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 CompilerErrorItemInfo
impl Debug for CompilerErrorItemInfo
Auto Trait Implementations§
impl Freeze for CompilerErrorItemInfo
impl RefUnwindSafe for CompilerErrorItemInfo
impl Send for CompilerErrorItemInfo
impl Sync for CompilerErrorItemInfo
impl Unpin for CompilerErrorItemInfo
impl UnsafeUnpin for CompilerErrorItemInfo
impl UnwindSafe for CompilerErrorItemInfo
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