Type Alias deltachat::dc_event_t

source ·
pub type dc_event_t = Event;

Aliased Type§

struct dc_event_t {
    pub id: u32,
    pub typ: EventType,
}

Fields§

§id: u32

The ID of the Context which emitted this event.

This allows using multiple Contexts in a single process as they are identified by this ID.

§typ: EventType

The event payload.

These are documented in deltachat.h as the DC_EVENT_* constants.