[]Struct ckb_sentry::protocol::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, Global>,
    pub context_line: Option<String>,
    pub post_context: Vec<String, Global>,
}

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, Global>

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

context_line: Option<String>

The current line as source.

post_context: Vec<String, Global>

The sources of the lines after the current line.

Trait Implementations

impl Clone for TemplateInfo

impl Debug for TemplateInfo

impl Default for TemplateInfo

impl<'de> Deserialize<'de> for TemplateInfo

impl PartialEq<TemplateInfo> for TemplateInfo

impl Serialize for TemplateInfo

impl StructuralPartialEq for TemplateInfo

Auto Trait Implementations

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> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> SendSyncUnwindSafe for T where
    T: Send + Sync + UnwindSafe + ?Sized

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>, 

impl<T> WithSubscriber for T[src]