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 PublishDiagnosticsParams
pub fn new(uri: Url, diagnostics: Vec<Diagnostic>) -> PublishDiagnosticsParams
[src]
pub fn new(uri: Url, diagnostics: Vec<Diagnostic>) -> PublishDiagnosticsParams
Trait Implementations
impl Debug for PublishDiagnosticsParams
[src]
impl Debug for PublishDiagnosticsParams
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Eq for PublishDiagnosticsParams
[src]
impl Eq for PublishDiagnosticsParams
impl PartialEq for PublishDiagnosticsParams
[src]
impl PartialEq for PublishDiagnosticsParams
fn eq(&self, other: &PublishDiagnosticsParams) -> bool
[src]
fn eq(&self, other: &PublishDiagnosticsParams) -> bool
This 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) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for PublishDiagnosticsParams
impl Send for PublishDiagnosticsParams
impl Sync for PublishDiagnosticsParams
impl Sync for PublishDiagnosticsParams