pub struct LspServerStatus {
pub id: String,
pub name: String,
pub root: String,
pub status: LspConnectionStatus,
}Expand description
Status of an LSP server.
The /lsp endpoint returns an array of these.
Fields§
§id: StringServer ID.
name: StringServer name.
root: StringRoot directory path (relative to instance directory).
status: LspConnectionStatusConnection status.
Trait Implementations§
Source§impl Clone for LspServerStatus
impl Clone for LspServerStatus
Source§fn clone(&self) -> LspServerStatus
fn clone(&self) -> LspServerStatus
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 LspServerStatus
impl Debug for LspServerStatus
Source§impl<'de> Deserialize<'de> for LspServerStatus
impl<'de> Deserialize<'de> for LspServerStatus
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 LspServerStatus
impl RefUnwindSafe for LspServerStatus
impl Send for LspServerStatus
impl Sync for LspServerStatus
impl Unpin for LspServerStatus
impl UnwindSafe for LspServerStatus
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