Struct syntax::diagnostics::metadata::ErrorMetadata [−][src]
pub struct ErrorMetadata { pub description: Option<String>, pub use_site: Option<ErrorLocation>, }
JSON encodable/decodable version of ErrorInfo
.
Fields
description: Option<String>
use_site: Option<ErrorLocation>
Trait Implementations
impl PartialEq for ErrorMetadata
[src]
impl PartialEq for ErrorMetadata
fn eq(&self, other: &ErrorMetadata) -> bool
[src]
fn eq(&self, other: &ErrorMetadata) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &ErrorMetadata) -> bool
[src]
fn ne(&self, other: &ErrorMetadata) -> bool
This method tests for !=
.
impl Decodable for ErrorMetadata
[src]
impl Decodable for ErrorMetadata
impl Encodable for ErrorMetadata
[src]
impl Encodable for ErrorMetadata
Auto Trait Implementations
impl Send for ErrorMetadata
impl Send for ErrorMetadata
impl Sync for ErrorMetadata
impl Sync for ErrorMetadata