Struct sentry_types::protocol::v7::Event [] [src]

pub struct Event {
    pub id: Option<Uuid>,
    pub level: Level,
    pub fingerprint: Vec<String>,
    pub culprit: Option<String>,
    pub message: Option<String>,
    pub logentry: Option<LogEntry>,
    pub logger: Option<String>,
    pub modules: Map<String, String>,
    pub platform: String,
    pub timestamp: Option<DateTime<Utc>>,
    pub server_name: Option<String>,
    pub release: Option<String>,
    pub repos: Map<String, RepoReference>,
    pub dist: Option<String>,
    pub environment: Option<String>,
    pub user: Option<User>,
    pub request: Option<Request>,
    pub contexts: Map<String, Context>,
    pub breadcrumbs: Vec<Breadcrumb>,
    pub exceptions: Vec<Exception>,
    pub stacktrace: Option<Stacktrace>,
    pub template_info: Option<TemplateInfo>,
    pub threads: Vec<Thread>,
    pub tags: Map<String, String>,
    pub extra: Map<String, Value>,
    pub debug_meta: DebugMeta,
    pub sdk_info: Option<ClientSdkInfo>,
    pub other: Map<String, Value>,
}

Represents a full event for Sentry.

Fields

The ID of the event

The level of the event (defaults to error)

An optional fingerprint configuration to override the default.

The culprit or transaction name of the event.

A message to be sent with the event.

Optionally a log entry that can be used instead of the message for more complex cases.

Optionally the name of the logger that created this event.

Optionally a name to version mapping of installed modules.

A platform identifier for this event.

The timestamp of when the event was created.

This can be set to None in which case the server will set a timestamp.

Optionally the server (or device) name of this event.

A release identifier.

Repository references

An optional distribution identifer.

An optional environment identifier.

Optionally user data to be sent along.

Optionally HTTP request data to be sent along.

Optional contexts.

List of breadcrumbs to send along.

Exceptions to be attached (one or multiple if chained).

A single stacktrace (deprecated)

Simplified template error location info

A list of threads.

Optional tags to be attached to the event.

Optional extra information to be sent with the event.

Debug meta information.

SDK metadata

Additional arbitrary keys for forwards compatibility.

Methods

impl Event
[src]

[src]

Creates a new event with the current timestamp and random id.

Trait Implementations

impl Debug for Event
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for Event
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for Event
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Default for Event
[src]

[src]

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

Auto Trait Implementations

impl Send for Event

impl Sync for Event