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.
Implementations§
source§impl PublishDiagnosticsParams
impl PublishDiagnosticsParams
pub fn new(uri: Url, diagnostics: Vec<Diagnostic>) -> PublishDiagnosticsParams
Trait Implementations§
source§impl Debug for PublishDiagnosticsParams
impl Debug for PublishDiagnosticsParams
source§impl<'de> Deserialize<'de> for PublishDiagnosticsParams
impl<'de> Deserialize<'de> for PublishDiagnosticsParams
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more