Struct actix_tools::sentry::sentry_client::protocol::Mechanism[]

pub struct Mechanism {
    pub ty: String,
    pub description: Option<String>,
    pub help_link: Option<Url>,
    pub handled: Option<bool>,
    pub data: LinkedHashMap<String, Value, RandomState>,
    pub meta: MechanismMeta,
}

Represents a single exception.

Fields

The mechanism type identifier.

Human readable detail description.

An optional link to online resources describing this error.

An optional flag indicating whether this exception was handled.

Additional attributes depending on the mechanism type.

Operating system or runtime meta information.

Trait Implementations

impl Serialize for Mechanism

Serialize this value into the given Serde serializer. Read more

impl Clone for Mechanism

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for Mechanism

Returns the "default value" for a type. Read more

impl Debug for Mechanism

Formats the value using the given formatter. Read more

impl<'de> Deserialize<'de> for Mechanism where
    Mechanism: Default

Deserialize this value from the given Serde deserializer. Read more

impl PartialEq<Mechanism> for Mechanism

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 Send for Mechanism

impl Sync for Mechanism