[][src]Struct lsp_types::WorkspaceFoldersServerCapabilities

pub struct WorkspaceFoldersServerCapabilities {
    pub supported: Option<bool>,
    pub change_notifications: Option<OneOf<bool, String>>,
}

Fields

supported: Option<bool>

The server has support for workspace folders

change_notifications: Option<OneOf<bool, String>>

Whether the server wants to receive workspace folder change notifications.

If a string is provided, the string is treated as an ID under which the notification is registered on the client side. The ID can be used to unregister for these events using the client/unregisterCapability request.

Trait Implementations

impl Clone for WorkspaceFoldersServerCapabilities[src]

impl Debug for WorkspaceFoldersServerCapabilities[src]

impl Default for WorkspaceFoldersServerCapabilities[src]

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

impl Eq for WorkspaceFoldersServerCapabilities[src]

impl PartialEq<WorkspaceFoldersServerCapabilities> for WorkspaceFoldersServerCapabilities[src]

impl Serialize for WorkspaceFoldersServerCapabilities[src]

impl StructuralEq for WorkspaceFoldersServerCapabilities[src]

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