[][src]Struct tamasfe_lsp_types::TextDocumentRegistrationOptions

pub struct TextDocumentRegistrationOptions {
    pub document_selector: Option<DocumentSelector>,
}

Since most of the registration options require to specify a document selector there is a base interface that can be used.

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.

Trait Implementations

impl Clone for TextDocumentRegistrationOptions[src]

impl Debug for TextDocumentRegistrationOptions[src]

impl Default for TextDocumentRegistrationOptions[src]

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

impl Eq for TextDocumentRegistrationOptions[src]

impl PartialEq<TextDocumentRegistrationOptions> for TextDocumentRegistrationOptions[src]

impl Serialize for TextDocumentRegistrationOptions[src]

impl StructuralEq for TextDocumentRegistrationOptions[src]

impl StructuralPartialEq for TextDocumentRegistrationOptions[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.