Struct lsp_types::ChangeAnnotation[][src]

pub struct ChangeAnnotation {
    pub label: String,
    pub needs_confirmation: Option<bool>,
    pub description: Option<String>,
}

Additional information that describes document changes.

@since 3.16.0.

Fields

label: String

A human-readable string describing the actual change. The string is rendered prominent in the user interface.

needs_confirmation: Option<bool>

A flag which indicates that user confirmation is needed before applying the change.

description: Option<String>

A human-readable string which is rendered less prominent in the user interface.

Trait Implementations

impl Clone for ChangeAnnotation[src]

impl Debug for ChangeAnnotation[src]

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

impl Eq for ChangeAnnotation[src]

impl PartialEq<ChangeAnnotation> for ChangeAnnotation[src]

impl Serialize for ChangeAnnotation[src]

impl StructuralEq for ChangeAnnotation[src]

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