Struct languageserver_types::TextDocumentItem
[−]
[src]
pub struct TextDocumentItem { pub uri: String, pub language_id: Option<String>, pub version: Option<u64>, pub text: String, }
An item to transfer a text document from the client to the server.
Fields
uri: String
The text document's URI.
language_id: Option<String>
The text document's language identifier.
version: Option<u64>
The version number of this document (it will strictly increase after each change, including undo/redo).
text: String
The content of the opened text document.
Trait Implementations
impl Debug for TextDocumentItem
[src]
impl PartialEq for TextDocumentItem
[src]
fn eq(&self, __arg_0: &TextDocumentItem) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &TextDocumentItem) -> bool
This method tests for !=
.