Struct sentry_types::protocol::v7::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: Map<String, Value>,
}Expand description
Represents a single breadcrumb.
Fields
timestamp: DateTime<Utc>The timestamp of the breadcrumb. This is required.
ty: StringThe type of the breadcrumb.
category: Option<String>The optional category of the breadcrumb.
level: LevelThe non optional level of the breadcrumb. It defaults to info.
message: Option<String>An optional human readbale message for the breadcrumb.
data: Map<String, Value>Arbitrary breadcrumb data that should be send along.
Trait Implementations
Returns the “default value” for a type. Read more
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, Deserialize this value from the given Serde deserializer. Read more
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for Breadcrumbimpl Send for Breadcrumbimpl Sync for Breadcrumbimpl Unpin for Breadcrumbimpl UnwindSafe for BreadcrumbBlanket Implementations
Mutably borrows from an owned value. Read more