Struct sentry_rs::Event [] [src]

pub struct Event {
    pub event_id: String,
    pub message: String,
    pub timestamp: String,
    pub level: String,
    pub logger: String,
    pub platform: String,
    pub sdk: SDK,
    pub device: Device,
    pub culprit: Option<String>,
    pub server_name: Option<String>,
    pub stacktrace: Option<Vec<StackFrame>>,
    pub release: Option<String>,
    pub tags: BTreeMap<String, String>,
    pub environment: Option<String>,
    pub modules: BTreeMap<String, String>,
    pub extra: BTreeMap<String, String>,
    pub fingerprint: Vec<String>,
}

A Sentry Event.

Fields

The event id of this event.

The message of this event.

The timestamp of this event.

The level of warning for this event.

The logger for this event.

The platform for this event.

The SDK of this event.

The Device of this event.

The culprit of this event.

The server name for this event.

The stacktrace of this event.

The release of this event.

The tags of this event.

The environment this event occured in.

The modules of this event.

The extra info for this event.

The fingerprints of this event.

Methods

impl Event
[src]

Turns an event into a string. Due it a special way this way, because renaming a value of a value inside of serde isn't really friendly, and just feels weird if they made it possible. this method is super ugly right now, but it works.

TODO: Refactor All this.

impl Event
[src]

A Wrapper around creating a brand new event. May be a little bit of a perf hinderance, if You have Strings, since this method asks for &str (and then turns them into Strings). But if you want to use static strings, or need to pass in one this can be :totes: helpful.

Adds a tag to this event.

Trait Implementations

impl Clone for Event
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Event
[src]

Formats the value using the given formatter.