Struct lsp_types::InitializeResult
source · pub struct InitializeResult {
pub capabilities: ServerCapabilities,
pub server_info: Option<ServerInfo>,
pub offset_encoding: Option<String>,
}
Fields§
§capabilities: ServerCapabilities
The capabilities the language server provides.
server_info: Option<ServerInfo>
Information about the server.
offset_encoding: Option<String>
Unofficial UT8-offsets extension.
See https://clangd.llvm.org/extensions.html#utf-8-offsets.
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§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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)