Struct lsp_types::lsif::MetaData[][src]

pub struct MetaData {
    pub version: String,
    pub project_root: Url,
    pub position_encoding: Encoding,
    pub tool_info: Option<ToolInfo>,
}

Fields

version: String

The version of the LSIF format using semver notation. See https://semver.org/. Please note the version numbers starting with 0 don’t adhere to semver and adopters have to assume that each new version is breaking.

project_root: Url

The project root (in form of an URI) used to compute this dump.

position_encoding: Encoding

The string encoding used to compute line and character values in positions and ranges.

tool_info: Option<ToolInfo>

Information about the tool that created the dump

Trait Implementations

Formats the value using the given formatter. Read more

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 !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.