pub struct PublishDiagnosticsCapability {
pub related_information: Option<bool>,
}
Fields§
Whether the clients accepts diagnostics with related information.
Trait Implementations§
Source§impl Debug for PublishDiagnosticsCapability
impl Debug for PublishDiagnosticsCapability
Source§impl Default for PublishDiagnosticsCapability
impl Default for PublishDiagnosticsCapability
Source§fn default() -> PublishDiagnosticsCapability
fn default() -> PublishDiagnosticsCapability
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PublishDiagnosticsCapability
impl<'de> Deserialize<'de> for PublishDiagnosticsCapability
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
Source§impl PartialEq for PublishDiagnosticsCapability
impl PartialEq for PublishDiagnosticsCapability
Source§fn eq(&self, other: &PublishDiagnosticsCapability) -> bool
fn eq(&self, other: &PublishDiagnosticsCapability) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Eq for PublishDiagnosticsCapability
impl StructuralPartialEq for PublishDiagnosticsCapability
Auto Trait Implementations§
impl Freeze for PublishDiagnosticsCapability
impl RefUnwindSafe for PublishDiagnosticsCapability
impl Send for PublishDiagnosticsCapability
impl Sync for PublishDiagnosticsCapability
impl Unpin for PublishDiagnosticsCapability
impl UnwindSafe for PublishDiagnosticsCapability
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