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§
Source§impl Clone for StoppedEventBody
impl Clone for StoppedEventBody
Source§fn clone(&self) -> StoppedEventBody
fn clone(&self) -> StoppedEventBody
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for StoppedEventBody
impl Debug for StoppedEventBody
Source§impl<'de> Deserialize<'de> for StoppedEventBody
impl<'de> Deserialize<'de> for StoppedEventBody
Source§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
Source§impl PartialEq for StoppedEventBody
impl PartialEq for StoppedEventBody
Source§impl Serialize for StoppedEventBody
impl Serialize for StoppedEventBody
impl StructuralPartialEq for StoppedEventBody
Auto Trait Implementations§
impl Freeze for StoppedEventBody
impl RefUnwindSafe for StoppedEventBody
impl Send for StoppedEventBody
impl Sync for StoppedEventBody
impl Unpin for StoppedEventBody
impl UnwindSafe for StoppedEventBody
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more