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>,
}Expand description
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
Returns the “default value” for a type. Read more
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 TemplateInfoimpl Send for TemplateInfoimpl Sync for TemplateInfoimpl Unpin for TemplateInfoimpl UnwindSafe for TemplateInfoBlanket Implementations
Mutably borrows from an owned value. Read more