Struct sentry::protocol::EmbeddedSources [] [src]

pub struct EmbeddedSources {
    pub pre_lines: Vec<String>,
    pub current_line: Option<String>,
    pub post_lines: Vec<String>,
}

Represents contextual information in a frame.

Fields

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

[src]

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

[src]

This method tests for !=.

impl<'de> Deserialize<'de> for EmbeddedSources where
    EmbeddedSources: Default
[src]

[src]

Deserialize this value from the given Serde deserializer. Read more

impl Clone for EmbeddedSources
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Serialize for EmbeddedSources
[src]

[src]

Serialize this value into the given Serde serializer. Read more

impl Debug for EmbeddedSources
[src]

[src]

Formats the value using the given formatter. Read more

impl Default for EmbeddedSources
[src]

[src]

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

Auto Trait Implementations