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 From<CustomEvent> for Event
[src]

[src]

Performs the conversion.

impl From<CustomEvent> for Event
[src]

[src]

Performs the conversion.

impl Clone for CustomEvent
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for CustomEvent
[src]

[src]

Formats the value using the given formatter. Read more

impl Event for CustomEvent
[src]

The event-type-specific payload this event carries.

[src]

The event's content.

[src]

The type of the event.

Auto Trait Implementations

impl Send for CustomEvent

impl Sync for CustomEvent