Struct syntex_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
use_site

Trait Implementations

Derived Implementations

impl Encodable for ErrorMetadata
[src]

fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>

impl Decodable for ErrorMetadata
[src]

fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<ErrorMetadata, __D::Error>

impl PartialEq for ErrorMetadata
[src]

fn eq(&self, __arg_0: &ErrorMetadata) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, __arg_0: &ErrorMetadata) -> bool

This method tests for !=.