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

impl Debug for TemplateInfo[src]

impl Default for TemplateInfo[src]

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

impl PartialEq<TemplateInfo> for TemplateInfo[src]

impl Serialize for TemplateInfo[src]

impl StructuralPartialEq for TemplateInfo[src]

Auto Trait Implementations

impl RefUnwindSafe for TemplateInfo

impl Send for TemplateInfo

impl Sync for TemplateInfo

impl Unpin for TemplateInfo

impl UnwindSafe for TemplateInfo

Blanket Implementations

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

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

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

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

impl<T> From<T> for T[src]

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

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

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,