pub struct LspServerEntry {
pub command: String,
pub args: Vec<String>,
pub extension_to_language: HashMap<String, String>,
pub transport: String,
pub env: HashMap<String, String>,
}Expand description
Individual LSP server configuration.
Fields§
§command: String§args: Vec<String>§extension_to_language: HashMap<String, String>File extension to language ID mapping (e.g. “.ts” → “typescript”).
transport: String§env: HashMap<String, String>Trait Implementations§
Source§impl Clone for LspServerEntry
impl Clone for LspServerEntry
Source§fn clone(&self) -> LspServerEntry
fn clone(&self) -> LspServerEntry
Returns a duplicate 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 LspServerEntry
impl Debug for LspServerEntry
Source§impl<'de> Deserialize<'de> for LspServerEntry
impl<'de> Deserialize<'de> for LspServerEntry
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
Auto Trait Implementations§
impl Freeze for LspServerEntry
impl RefUnwindSafe for LspServerEntry
impl Send for LspServerEntry
impl Sync for LspServerEntry
impl Unpin for LspServerEntry
impl UnsafeUnpin for LspServerEntry
impl UnwindSafe for LspServerEntry
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