Struct fuel_gql_client::schema::StoppedEventBody
source · [−]pub struct StoppedEventBody {
pub all_threads_stopped: Option<bool>,
pub description: Option<String>,
pub hit_breakpoint_ids: Option<Vec<i64>>,
pub preserve_focus_hint: Option<bool>,
pub reason: String,
pub text: Option<String>,
pub thread_id: Option<i64>,
}
Fields
all_threads_stopped: Option<bool>
If ‘allThreadsStopped’ is true, a debug adapter can announce that all threads have stopped.
- The client should use this information to enable that all threads can be expanded to access their stacktraces.
- If the attribute is missing or false, only the thread with the given threadId can be expanded.
description: Option<String>
The full reason for the event, e.g. ‘Paused on exception’. This string is shown in the UI as is and must be translated.
hit_breakpoint_ids: Option<Vec<i64>>
Ids of the breakpoints that triggered the event. In most cases there will be only a single breakpoint but here are some examples for multiple breakpoints:
- Different types of breakpoints map to the same location.
- Multiple source breakpoints get collapsed to the same instruction by the compiler/runtime.
- Multiple function breakpoints with different function names map to the same location.
preserve_focus_hint: Option<bool>
A value of true hints to the frontend that this event should not change the focus.
reason: String
The reason for the event. For backward compatibility this string is shown in the UI if the ‘description’ attribute is missing (but it must not be translated).
text: Option<String>
Additional information. E.g. if reason is ‘exception’, text contains the exception name. This string is shown in the UI.
thread_id: Option<i64>
The thread which was stopped.
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 StoppedEventBody
impl Send for StoppedEventBody
impl Sync for StoppedEventBody
impl Unpin for StoppedEventBody
impl UnwindSafe for StoppedEventBody
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