pub struct StackTraceRequestArguments {
pub thread_id: i32,
pub start_frame: i32,
pub levels: i32,
pub format: Option<StackFrameFormat>,
/* private fields */
}
Fields§
§thread_id: i32
Retrieve the stacktrace for this thread.
start_frame: i32
The index of the first frame to return; if omitted frames start at 0.
levels: i32
The maximum number of frames to return. If levels is not specified or 0, all frames are returned.
format: Option<StackFrameFormat>
Specifies details on how to format the stack frames.
The attribute is only honored by a debug adapter if the capability ‘supportsValueFormattingOptions’ is true.
Implementations§
Source§impl StackTraceRequestArguments
impl StackTraceRequestArguments
Sourcepub fn builder() -> StackTraceRequestArgumentsBuilder<((), (), (), ())>
pub fn builder() -> StackTraceRequestArgumentsBuilder<((), (), (), ())>
Create a builder for building StackTraceRequestArguments
.
On the builder, call .thread_id(...)
, .start_frame(...)
(optional), .levels(...)
(optional), .format(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of StackTraceRequestArguments
.
Trait Implementations§
Source§impl Clone for StackTraceRequestArguments
impl Clone for StackTraceRequestArguments
Source§fn clone(&self) -> StackTraceRequestArguments
fn clone(&self) -> StackTraceRequestArguments
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for StackTraceRequestArguments
impl Debug for StackTraceRequestArguments
Source§impl<'de> Deserialize<'de> for StackTraceRequestArguments
impl<'de> Deserialize<'de> for StackTraceRequestArguments
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 From<StackTraceRequestArguments> for ProtocolMessageContent
impl From<StackTraceRequestArguments> for ProtocolMessageContent
Source§fn from(args: StackTraceRequestArguments) -> Self
fn from(args: StackTraceRequestArguments) -> Self
Converts to this type from the input type.
Source§impl From<StackTraceRequestArguments> for Request
impl From<StackTraceRequestArguments> for Request
Source§fn from(args: StackTraceRequestArguments) -> Self
fn from(args: StackTraceRequestArguments) -> Self
Converts to this type from the input type.
Source§impl PartialEq for StackTraceRequestArguments
impl PartialEq for StackTraceRequestArguments
Source§fn eq(&self, other: &StackTraceRequestArguments) -> bool
fn eq(&self, other: &StackTraceRequestArguments) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Eq for StackTraceRequestArguments
impl StructuralPartialEq for StackTraceRequestArguments
Auto Trait Implementations§
impl Freeze for StackTraceRequestArguments
impl RefUnwindSafe for StackTraceRequestArguments
impl Send for StackTraceRequestArguments
impl Sync for StackTraceRequestArguments
impl Unpin for StackTraceRequestArguments
impl UnwindSafe for StackTraceRequestArguments
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.