[][src]Struct sentry::Breadcrumb

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

Represents a single breadcrumb.

Fields

timestamp: DateTime<Utc>

The timestamp of the breadcrumb. This is required.

ty: String

The type of the breadcrumb.

category: Option<String>

The optional category of the breadcrumb.

level: Level

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

message: Option<String>

An optional human readbale message for the breadcrumb.

data: BTreeMap<String, Value>

Arbitrary breadcrumb data that should be send along.

Trait Implementations

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

impl Clone for Breadcrumb[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Default for Breadcrumb[src]

impl Serialize for Breadcrumb[src]

impl PartialEq<Breadcrumb> for Breadcrumb[src]

impl Debug for Breadcrumb[src]

impl IntoBreadcrumbs for Breadcrumb[src]

type Output = Once<Breadcrumb>

The iterator type for the breadcrumbs.

Auto Trait Implementations

impl Send for Breadcrumb

impl Sync for Breadcrumb

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]

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self