Struct ruma_events::receipt::ReceiptEvent [] [src]

pub struct ReceiptEvent {
    pub content: ReceiptEventContent,
    pub event_type: EventType,
    pub room_id: RoomId,
}

Informs the client of new receipts.

Fields

The event's content.

The type of the event.

The unique identifier for the room associated with this event.

Trait Implementations

impl Clone for ReceiptEvent
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ReceiptEvent
[src]

Formats the value using the given formatter.

impl Event for ReceiptEvent
[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