[][src]Struct lsp_types::TextDocumentChangeRegistrationOptions

pub struct TextDocumentChangeRegistrationOptions {
    pub document_selector: Option<DocumentSelector>,
    pub sync_kind: i32,
}

Descibe options to be used when registered for text document change events.

Extends TextDocumentRegistrationOptions

Fields

document_selector: Option<DocumentSelector>

A document selector to identify the scope of the registration. If set to null the document selector provided on the client side will be used.

sync_kind: i32

How documents are synced to the server. See TextDocumentSyncKind.Full and TextDocumentSyncKindIncremental.

Trait Implementations

impl PartialEq<TextDocumentChangeRegistrationOptions> for TextDocumentChangeRegistrationOptions[src]

impl Eq for TextDocumentChangeRegistrationOptions[src]

impl Debug for TextDocumentChangeRegistrationOptions[src]

impl Serialize for TextDocumentChangeRegistrationOptions[src]

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

Auto Trait Implementations

Blanket Implementations

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

impl<T> From for T[src]

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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