[][src]Struct tamasfe_lsp_types::VersionedTextDocumentIdentifier

pub struct VersionedTextDocumentIdentifier {
    pub uri: Url,
    pub version: i32,
}

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

impl VersionedTextDocumentIdentifier[src]

Trait Implementations

impl Clone for VersionedTextDocumentIdentifier[src]

impl Debug for VersionedTextDocumentIdentifier[src]

impl<'de> Deserialize<'de> for VersionedTextDocumentIdentifier[src]

impl Eq for VersionedTextDocumentIdentifier[src]

impl PartialEq<VersionedTextDocumentIdentifier> for VersionedTextDocumentIdentifier[src]

impl Serialize for VersionedTextDocumentIdentifier[src]

impl StructuralEq for VersionedTextDocumentIdentifier[src]

impl StructuralPartialEq for VersionedTextDocumentIdentifier[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.