Struct lsp2::DocumentDiagnosticParams
pub struct DocumentDiagnosticParams {
pub text_document: TextDocumentIdentifier,
pub identifier: Option<String>,
pub previous_result_id: Option<String>,
pub work_done_progress_params: WorkDoneProgressParams,
pub partial_result_params: PartialResultParams,
}
Expand description
Parameters of the document diagnostic request.
@since 3.17.0
Fields§
§text_document: TextDocumentIdentifier
The text document.
identifier: Option<String>
The additional identifier provided during registration.
previous_result_id: Option<String>
The result ID of a previous response if provided.
work_done_progress_params: WorkDoneProgressParams
§partial_result_params: PartialResultParams
Trait Implementations§
§impl Clone for DocumentDiagnosticParams
impl Clone for DocumentDiagnosticParams
§fn clone(&self) -> DocumentDiagnosticParams
fn clone(&self) -> DocumentDiagnosticParams
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for DocumentDiagnosticParams
impl Debug for DocumentDiagnosticParams
§impl<'de> Deserialize<'de> for DocumentDiagnosticParams
impl<'de> Deserialize<'de> for DocumentDiagnosticParams
§fn deserialize<__D>(
__deserializer: __D
) -> Result<DocumentDiagnosticParams, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<DocumentDiagnosticParams, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl PartialEq<DocumentDiagnosticParams> for DocumentDiagnosticParams
impl PartialEq<DocumentDiagnosticParams> for DocumentDiagnosticParams
§fn eq(&self, other: &DocumentDiagnosticParams) -> bool
fn eq(&self, other: &DocumentDiagnosticParams) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl Serialize for DocumentDiagnosticParams
impl Serialize for DocumentDiagnosticParams
§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for DocumentDiagnosticParams
impl StructuralEq for DocumentDiagnosticParams
impl StructuralPartialEq for DocumentDiagnosticParams
Auto Trait Implementations§
impl RefUnwindSafe for DocumentDiagnosticParams
impl Send for DocumentDiagnosticParams
impl Sync for DocumentDiagnosticParams
impl Unpin for DocumentDiagnosticParams
impl UnwindSafe for DocumentDiagnosticParams
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.