[][src]Struct sentry::protocol::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 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

impl RefUnwindSafe for Breadcrumb

impl Send for Breadcrumb

impl Sync for Breadcrumb

impl Unpin for Breadcrumb

impl UnwindSafe for Breadcrumb

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, U> Into<U> for T where
    U: From<T>, 
[src]

impl<F, I> IntoBreadcrumbs for F where
    F: FnOnce() -> I,
    I: IntoBreadcrumbs
[src]

type Output = <I as IntoBreadcrumbs>::Output

The iterator type for the breadcrumbs.

impl<T> Same<T> for T

type Output = T

Should always be Self

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