[][src]Struct sentry_core::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.


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

impl Debug for Breadcrumb[src]

impl Default for Breadcrumb[src]

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

impl IntoBreadcrumbs for Breadcrumb[src]

type Output = Once<Breadcrumb>

The iterator type for the breadcrumbs.

impl PartialEq<Breadcrumb> for Breadcrumb[src]

impl Serialize for Breadcrumb[src]

impl StructuralPartialEq for Breadcrumb[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

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

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

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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