Struct lsp_types::VersionedTextDocumentIdentifier [−][src]
Expand description
An identifier to denote a specific version of a text document. This information usually flows from the client to the server.
Fields
uri: Url
The text document’s URI.
version: i32
The version number of this document.
The version number of a document will increase after each change, including undo/redo. The number doesn’t need to be consecutive.
Implementations
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 Send for VersionedTextDocumentIdentifier
impl Sync for VersionedTextDocumentIdentifier
impl Unpin for VersionedTextDocumentIdentifier
Blanket Implementations
Mutably borrows from an owned value. Read more