Struct lsp_types::InitializeResult
source · pub struct InitializeResult {
pub capabilities: ServerCapabilities,
pub server_info: Option<ServerInfo>,
}
Fields§
§capabilities: ServerCapabilities
The capabilities the language server provides.
server_info: Option<ServerInfo>
Information about the server.
Trait Implementations§
source§impl Clone for InitializeResult
impl Clone for InitializeResult
source§fn clone(&self) -> InitializeResult
fn clone(&self) -> InitializeResult
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 moresource§impl Debug for InitializeResult
impl Debug for InitializeResult
source§impl Default for InitializeResult
impl Default for InitializeResult
source§fn default() -> InitializeResult
fn default() -> InitializeResult
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for InitializeResult
impl<'de> Deserialize<'de> for InitializeResult
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 InitializeResult
impl PartialEq for InitializeResult
source§fn eq(&self, other: &InitializeResult) -> bool
fn eq(&self, other: &InitializeResult) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for InitializeResult
impl Serialize for InitializeResult
impl StructuralPartialEq for InitializeResult
Auto Trait Implementations§
impl Freeze for InitializeResult
impl RefUnwindSafe for InitializeResult
impl Send for InitializeResult
impl Sync for InitializeResult
impl Unpin for InitializeResult
impl UnwindSafe for InitializeResult
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