[][src]Struct lsp_types::WorkDoneProgressBegin

pub struct WorkDoneProgressBegin {
    pub title: String,
    pub cancellable: Option<bool>,
    pub message: Option<String>,
    pub percentage: Option<f64>,
}

Fields

title: String

Mandatory title of the progress operation. Used to briefly inform about the kind of operation being performed. Examples: "Indexing" or "Linking dependencies".

cancellable: Option<bool>

Controls if a cancel button should show to allow the user to cancel the long running operation. Clients that don't support cancellation are allowed to ignore the setting.

message: Option<String>

Optional, more detailed associated progress message. Contains complementary information to the title. Examples: "3/25 files", "project/src/module2", "node_modules/some_dep". If unset, the previous progress message (if any) is still valid.

percentage: Option<f64>

Optional progress percentage to display (value 100 is considered 100%). If unset, the previous progress percentage (if any) is still valid.

Trait Implementations

impl Clone for WorkDoneProgressBegin[src]

impl Debug for WorkDoneProgressBegin[src]

impl Default for WorkDoneProgressBegin[src]

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

impl PartialEq<WorkDoneProgressBegin> for WorkDoneProgressBegin[src]

impl Serialize for WorkDoneProgressBegin[src]

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