Struct sentry_types::protocol::v7::TemplateInfo [−][src]
pub struct TemplateInfo { pub filename: Option<String>, pub abs_path: Option<String>, pub lineno: Option<u64>, pub colno: Option<u64>, pub pre_context: Vec<String>, pub context_line: Option<String>, pub post_context: Vec<String>, }
Represents template debug info.
Fields
filename: Option<String>
The filename (basename only).
abs_path: Option<String>
If known the absolute path.
lineno: Option<u64>
The line number if known.
colno: Option<u64>
The column number if known.
pre_context: Vec<String>
The sources of the lines leading up to the current line.
context_line: Option<String>
The current line as source.
post_context: Vec<String>
The sources of the lines after the current line.
Trait Implementations
impl Default for TemplateInfo
[src]
impl Default for TemplateInfo
fn default() -> TemplateInfo
[src]
fn default() -> TemplateInfo
Returns the "default value" for a type. Read more
impl Clone for TemplateInfo
[src]
impl Clone for TemplateInfo
fn clone(&self) -> TemplateInfo
[src]
fn clone(&self) -> TemplateInfo
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for TemplateInfo
[src]
impl Debug for TemplateInfo
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for TemplateInfo
[src]
impl PartialEq for TemplateInfo
fn eq(&self, other: &TemplateInfo) -> bool
[src]
fn eq(&self, other: &TemplateInfo) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &TemplateInfo) -> bool
[src]
fn ne(&self, other: &TemplateInfo) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for TemplateInfo
impl Send for TemplateInfo
impl Sync for TemplateInfo
impl Sync for TemplateInfo