[][src]Struct sentry_types::protocol::v7::TemplateInfo

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 PartialEq<TemplateInfo> for TemplateInfo[src]

impl Default for TemplateInfo[src]

impl Clone for TemplateInfo[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 Serialize for TemplateInfo[src]

impl<'de> Deserialize<'de> for TemplateInfo[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]