pub struct ProgressStartEventBody {
    pub cancellable: Option<bool>,
    pub message: Option<String>,
    pub percentage: Option<f64>,
    pub progress_id: String,
    pub request_id: Option<i64>,
    pub title: String,
}

Fields

cancellable: Option<bool>

If true, the request that reports progress may be canceled with a ‘cancel’ request. So this property basically controls whether the client should use UX that supports cancellation. Clients that don’t support cancellation are allowed to ignore the setting.

message: Option<String>

Optional, more detailed progress message.

percentage: Option<f64>

Optional progress percentage to display (value range: 0 to 100). If omitted no percentage will be shown.

progress_id: String

An ID that must be used in subsequent ‘progressUpdate’ and ‘progressEnd’ events to make them refer to the same progress reporting. IDs must be unique within a debug session.

request_id: Option<i64>

The request ID that this progress report is related to. If specified a debug adapter is expected to emit progress events for the long running request until the request has been either completed or cancelled. If the request ID is omitted, the progress report is assumed to be related to some general activity of the debug adapter.

title: String

Mandatory (short) title of the progress reporting. Shown in the UI to describe the long running operation.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more