Struct lsp_types::SymbolInformation [−][src]
pub struct SymbolInformation {
pub name: String,
pub kind: SymbolKind,
pub tags: Option<Vec<SymbolTag>>,
pub deprecated: Option<bool>,
pub location: Location,
pub container_name: Option<String>,
}Expand description
Represents information about programming constructs like variables, classes, interfaces etc.
Fields
name: StringThe name of this symbol.
kind: SymbolKindThe kind of this symbol.
Tags for this completion item. since 3.16.0
deprecated: Option<bool>👎 Deprecated:
Use tags instead
Indicates if this symbol is deprecated.
location: LocationThe location of this symbol.
container_name: Option<String>The name of the symbol containing this symbol.
Trait Implementations
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
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for SymbolInformation
impl Send for SymbolInformation
impl Sync for SymbolInformation
impl Unpin for SymbolInformation
impl UnwindSafe for SymbolInformation
Blanket Implementations
Mutably borrows from an owned value. Read more