Struct sentry_types::protocol::v7::Breadcrumb
source · pub struct Breadcrumb {
pub timestamp: SystemTime,
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: SystemTime
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: Map<String, Value>
Arbitrary breadcrumb data that should be send along.
Trait Implementations§
source§impl Clone for Breadcrumb
impl Clone for Breadcrumb
source§fn clone(&self) -> Breadcrumb
fn clone(&self) -> Breadcrumb
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for Breadcrumb
impl Debug for Breadcrumb
source§impl Default for Breadcrumb
impl Default for Breadcrumb
source§fn default() -> Breadcrumb
fn default() -> Breadcrumb
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for Breadcrumb
impl<'de> Deserialize<'de> for Breadcrumb
source§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
source§impl PartialEq for Breadcrumb
impl PartialEq for Breadcrumb
source§impl Serialize for Breadcrumb
impl Serialize for Breadcrumb
impl StructuralPartialEq for Breadcrumb
Auto Trait Implementations§
impl Freeze for Breadcrumb
impl RefUnwindSafe for Breadcrumb
impl Send for Breadcrumb
impl Sync for Breadcrumb
impl Unpin for Breadcrumb
impl UnwindSafe for Breadcrumb
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)