pub struct ProtocolStackFrame {
pub id: i64,
pub name: String,
pub source: Option<Source>,
pub line: i64,
pub column: i64,
pub end_line: Option<i64>,
pub end_column: Option<i64>,
}Expand description
A stack frame in the call stack
Fields§
§id: i64Frame identifier
name: StringName of the frame (typically the function name)
source: Option<Source>Source location of the frame
line: i64Line number (1-based)
column: i64Column number (1-based)
end_line: Option<i64>End line number (optional)
end_column: Option<i64>End column number (optional)
Trait Implementations§
Source§impl Clone for ProtocolStackFrame
impl Clone for ProtocolStackFrame
Source§fn clone(&self) -> ProtocolStackFrame
fn clone(&self) -> ProtocolStackFrame
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ProtocolStackFrame
impl Debug for ProtocolStackFrame
Source§impl<'de> Deserialize<'de> for ProtocolStackFrame
impl<'de> Deserialize<'de> for ProtocolStackFrame
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
Auto Trait Implementations§
impl Freeze for ProtocolStackFrame
impl RefUnwindSafe for ProtocolStackFrame
impl Send for ProtocolStackFrame
impl Sync for ProtocolStackFrame
impl Unpin for ProtocolStackFrame
impl UnsafeUnpin for ProtocolStackFrame
impl UnwindSafe for ProtocolStackFrame
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