[][src]Struct debugserver_types::StackFrame

pub struct StackFrame {
    pub column: i64,
    pub end_column: Option<i64>,
    pub end_line: Option<i64>,
    pub id: i64,
    pub line: i64,
    pub module_id: Option<Value>,
    pub name: String,
    pub presentation_hint: Option<String>,
    pub source: Option<Source>,
}

A Stackframe contains the source location.

Fields

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.

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

impl PartialEq<StackFrame> for StackFrame[src]

impl Clone for StackFrame[src]

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

Performs copy-assignment from source. Read more

impl Debug for StackFrame[src]

impl Serialize for StackFrame[src]

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

Auto Trait Implementations

Blanket Implementations

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

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> 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]