Module sentry_rs::models [] [src]

Provides a list of "Models" for Sentry. These actually represent what gets sent to sentry, and tries to follow their guidelines.

We don't include any attributes that we ourselves don't use. It may be worthwhile one day to actually include some of these when it's worthwhile for downstream consumers.

Structs

Device

Information about the device for Sentry. Each attribute is described in detail HERE.

Event

An Event that gets sent to Sentry. Each attribute is described in detail HERE.

SDK

The SDK Representation for Sentry. Each attribute is described in detail HERE.

SentryCredentials

Some Sentry Credentials. Which although not immediatly obvious are super easy to get. Firsrt things first, go fetch your Client Keys (DSN) like you normally would for a project. Should look something like:

StackFrame

A Stackframe to Send to Sentry. Each attribute is described in detail HERE.

Enums

CredentialsParseError

Functions

prep_string

"Prepares" a string for being encoded to json. Right now this only strips off strings that start/end with " since it seems to barf on being sent, but in the future it could do more things.