Struct ruma_events::CustomEvent [] [src]

pub struct CustomEvent {
    pub content: Value,
    pub event_type: EventType,
}

A custom basic event not covered by the Matrix specification.

Fields

The event's content.

The type of the event.

Trait Implementations

impl Clone for CustomEvent
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for CustomEvent
[src]

Formats the value using the given formatter.

impl Event for CustomEvent
[src]

The event-type-specific payload this event carries.

The event's content.

The type of the event.

Extra top-level key-value pairs specific to this event type, but that are not under the content field. Read more