Struct fuel_gql_client::schema::ProgressStartEventBody
source · [−]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
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
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 !=
.
Auto Trait Implementations
impl RefUnwindSafe for ProgressStartEventBody
impl Send for ProgressStartEventBody
impl Sync for ProgressStartEventBody
impl Unpin for ProgressStartEventBody
impl UnwindSafe for ProgressStartEventBody
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
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