Struct ruma_events::presence::PresenceEvent [] [src]

pub struct PresenceEvent {
    pub content: PresenceEventContent,
    pub event_type: EventType,
    pub event_id: EventId,
}

Informs the client of a user's presence state change.

Fields

The event's content.

The type of the event.

The unique identifier for the event.

Trait Implementations

impl Clone for PresenceEvent
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for PresenceEvent
[src]

Formats the value using the given formatter.

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