Struct lsp::types::VersionedTextDocumentIdentifier[][src]

pub struct VersionedTextDocumentIdentifier {
    pub uri: String,
    pub version: Nullable<i32>,
}

An identifier to denote a specific version of a text document.

Fields

The text document's uri.

The version number of this document. If a versioned text document identifier is sent from the server to the client and the file is not open in the editor (the server has not received an open notification before) the server can send null to indicate that the version is unknown and the content on disk is the truth (as speced with document content ownership).

Methods

impl VersionedTextDocumentIdentifier
[src]

The VersionedTextDocumentIdentifier namespace provides helper functions to work with VersionedTextDocumentIdentifier literals.

Creates a new VersionedTextDocumentIdentifier literal. @param uri The document's uri. @param uri The document's text.

Trait Implementations

impl TextDocumentIdentifier for VersionedTextDocumentIdentifier
[src]

impl Debug for VersionedTextDocumentIdentifier
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations