[][src]Struct tamasfe_lsp_types::WorkspaceEditCapability

pub struct WorkspaceEditCapability {
    pub document_changes: Option<bool>,
    pub resource_operations: Option<Vec<ResourceOperationKind>>,
    pub failure_handling: Option<FailureHandlingKind>,
}

Fields

document_changes: Option<bool>

The client supports versioned document changes in WorkspaceEdits

resource_operations: Option<Vec<ResourceOperationKind>>

The resource operations the client supports. Clients should at least support 'create', 'rename' and 'delete' files and folders.

failure_handling: Option<FailureHandlingKind>

The failure handling strategy of a client if applying the workspace edit failes.

Trait Implementations

impl Clone for WorkspaceEditCapability[src]

impl Debug for WorkspaceEditCapability[src]

impl Default for WorkspaceEditCapability[src]

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

impl Eq for WorkspaceEditCapability[src]

impl PartialEq<WorkspaceEditCapability> for WorkspaceEditCapability[src]

impl Serialize for WorkspaceEditCapability[src]

impl StructuralEq for WorkspaceEditCapability[src]

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