Struct sentry::Breadcrumb[][src]

pub struct Breadcrumb {
    pub timestamp: DateTime<Utc>,
    pub ty: String,
    pub category: Option<String>,
    pub level: Level,
    pub message: Option<String>,
    pub data: LinkedHashMap<String, Value, RandomState>,
}

Represents a single breadcrumb.

Fields

The timestamp of the breadcrumb. This is required.

The type of the breadcrumb.

The optional category of the breadcrumb.

The non optional level of the breadcrumb. It defaults to info.

An optional human readbale message for the breadcrumb.

Arbitrary breadcrumb data that should be send along.

Trait Implementations

impl Clone for Breadcrumb
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for Breadcrumb
[src]

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

impl Debug for Breadcrumb
[src]

Formats the value using the given formatter. Read more

impl Serialize for Breadcrumb
[src]

Serialize this value into the given Serde serializer. Read more

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

Deserialize this value from the given Serde deserializer. Read more

impl PartialEq<Breadcrumb> for Breadcrumb
[src]

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

This method tests for !=.

impl IntoBreadcrumbs for Breadcrumb
[src]

The iterator type for the breadcrumbs.

This converts the object into an optional breadcrumb.

Auto Trait Implementations

impl Send for Breadcrumb

impl Sync for Breadcrumb