Struct lsp_types::ShowDocumentResult
source · [−]pub struct ShowDocumentResult {
pub success: bool,
}
Expand description
The result of an show document request.
@since 3.16.0
Fields
success: bool
A boolean indicating if the show was successful.
Trait Implementations
sourceimpl Clone for ShowDocumentResult
impl Clone for ShowDocumentResult
sourcefn clone(&self) -> ShowDocumentResult
fn clone(&self) -> ShowDocumentResult
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ShowDocumentResult
impl Debug for ShowDocumentResult
sourceimpl<'de> Deserialize<'de> for ShowDocumentResult
impl<'de> Deserialize<'de> for ShowDocumentResult
sourcefn 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
sourceimpl PartialEq<ShowDocumentResult> for ShowDocumentResult
impl PartialEq<ShowDocumentResult> for ShowDocumentResult
sourcefn eq(&self, other: &ShowDocumentResult) -> bool
fn eq(&self, other: &ShowDocumentResult) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ShowDocumentResult) -> bool
fn ne(&self, other: &ShowDocumentResult) -> bool
This method tests for !=
.
sourceimpl Serialize for ShowDocumentResult
impl Serialize for ShowDocumentResult
impl StructuralPartialEq for ShowDocumentResult
Auto Trait Implementations
impl RefUnwindSafe for ShowDocumentResult
impl Send for ShowDocumentResult
impl Sync for ShowDocumentResult
impl Unpin for ShowDocumentResult
impl UnwindSafe for ShowDocumentResult
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more