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

The filename (basename only).

If known the absolute path.

The line number if known.

The column number if known.

The sources of the lines leading up to the current line.

The current line as source.

The sources of the lines after the current line.

Trait Implementations

impl Default for TemplateInfo
[src]

Returns the "default value" for a type. Read more

impl Clone for TemplateInfo
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for TemplateInfo
[src]

Formats the value using the given formatter. Read more

impl PartialEq for TemplateInfo
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations