Struct sentry_rs::models::StackFrame
[−]
[src]
pub struct StackFrame {
pub filename: String,
pub function: String,
pub lineno: u32,
pub pre_context: Vec<String>,
pub post_context: Vec<String>,
pub context_line: String,
pub in_app: bool,
}A Stackframe to Send to Sentry. Each attribute is described in detail HERE.
Fields
filename: String
The Filename that this StackFrame originated from.
function: String
The function this stackframe originated from.
lineno: u32
The line number this stackframe originated from.
pre_context: Vec<String>
The lines that come before it for context.
post_context: Vec<String>
The lines that come after the error line for context.
context_line: String
The line that through the error for context.
in_app: bool
Whether or not this error orginates "inside the app". E.g. not parts of rust itself. For us we use this as anything not in /buildslave/ + main
Trait Implementations
impl Clone for StackFrame[src]
fn clone(&self) -> StackFrame
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl Debug for StackFrame[src]
impl Eq for StackFrame[src]
impl PartialEq for StackFrame[src]
fn eq(&self, __arg_0: &StackFrame) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &StackFrame) -> bool
This method tests for !=.