Struct fuel_gql_client::schema::StackFrame
source · [−]pub struct StackFrame {
pub can_restart: Option<bool>,
pub column: i64,
pub end_column: Option<i64>,
pub end_line: Option<i64>,
pub id: i64,
pub instruction_pointer_reference: Option<String>,
pub line: i64,
pub module_id: Option<Value>,
pub name: String,
pub presentation_hint: Option<String>,
pub source: Option<Source>,
}
Expand description
A Stackframe contains the source location.
Fields
can_restart: Option<bool>
Indicates whether this frame can be restarted with the ‘restart’ request. Clients should only use this if the debug adapter supports the ‘restart’ request (capability ‘supportsRestartRequest’ is true).
column: i64
The column within the line. If source is null or doesn’t exist, column is 0 and must be ignored.
end_column: Option<i64>
An optional end column of the range covered by the stack frame.
end_line: Option<i64>
An optional end line of the range covered by the stack frame.
id: i64
An identifier for the stack frame. It must be unique across all threads. This id can be used to retrieve the scopes of the frame with the ‘scopesRequest’ or to restart the execution of a stackframe.
instruction_pointer_reference: Option<String>
Optional memory reference for the current instruction pointer in this frame.
line: i64
The line within the file of the frame. If source is null or doesn’t exist, line is 0 and must be ignored.
module_id: Option<Value>
The module associated with this frame, if any.
name: String
The name of the stack frame, typically a method name.
presentation_hint: Option<String>
An optional hint for how to present this frame in the UI. A value of ‘label’ can be used to indicate that the frame is an artificial frame that is used as a visual label or separator. A value of ‘subtle’ can be used to change the appearance of a frame in a ‘subtle’ way.
source: Option<Source>
The optional source of the frame.
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 StackFrame
impl Send for StackFrame
impl Sync for StackFrame
impl Unpin for StackFrame
impl UnwindSafe for StackFrame
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