[][src]Struct debugserver_types::StoppedEventBody

pub struct StoppedEventBody {
    pub all_threads_stopped: Option<bool>,
    pub description: Option<String>,
    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.

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

impl PartialEq<StoppedEventBody> for StoppedEventBody[src]

impl Clone for StoppedEventBody[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for StoppedEventBody[src]

impl Serialize for StoppedEventBody[src]

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

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

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.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]