Struct languageserver_types::PublishDiagnosticsParams [−][src]
pub struct PublishDiagnosticsParams {
pub uri: Url,
pub diagnostics: Vec<Diagnostic>,
}Fields
uri: Url
The URI for which diagnostic information is reported.
diagnostics: Vec<Diagnostic>
An array of diagnostic information items.
Methods
impl PublishDiagnosticsParams[src]
impl PublishDiagnosticsParamspub fn new(uri: Url, diagnostics: Vec<Diagnostic>) -> PublishDiagnosticsParams[src]
pub fn new(uri: Url, diagnostics: Vec<Diagnostic>) -> PublishDiagnosticsParamsTrait Implementations
impl Debug for PublishDiagnosticsParams[src]
impl Debug for PublishDiagnosticsParamsfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Eq for PublishDiagnosticsParams[src]
impl Eq for PublishDiagnosticsParamsimpl PartialEq for PublishDiagnosticsParams[src]
impl PartialEq for PublishDiagnosticsParamsfn eq(&self, other: &PublishDiagnosticsParams) -> bool[src]
fn eq(&self, other: &PublishDiagnosticsParams) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &PublishDiagnosticsParams) -> bool[src]
fn ne(&self, other: &PublishDiagnosticsParams) -> boolThis method tests for !=.
Auto Trait Implementations
impl Send for PublishDiagnosticsParams
impl Send for PublishDiagnosticsParamsimpl Sync for PublishDiagnosticsParams
impl Sync for PublishDiagnosticsParams