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
content: ReceiptEventContent
The event's content.
event_type: EventType
The type of the event.
room_id: RoomId
The unique identifier for the room associated with this event.
Trait Implementations
impl Clone for ReceiptEvent
[src]
fn clone(&self) -> ReceiptEvent
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for ReceiptEvent
[src]
impl Event for ReceiptEvent
[src]
type Content = ReceiptEventContent
The event-type-specific payload this event carries.
fn content(&self) -> &ReceiptEvent::Content
The event's content.
fn event_type(&self) -> &EventType
The type of the event.
fn extra_content(&self) -> Option<Value>
Extra top-level key-value pairs specific to this event type, but that are not under the content
field. Read more