Struct ruma_events::call::hangup::HangupEvent [] [src]

pub struct HangupEvent {
    pub content: HangupEventContent,
    pub event_id: EventId,
    pub event_type: EventType,
    pub room_id: RoomId,
    pub unsigned: Option<Value>,
    pub user_id: UserId,
}

Sent by either party to signal their termination of the call. This can be sent either once the call has has been established or before to abort the call.

Fields

The event's content.

The unique identifier for the event.

The type of the event.

The unique identifier for the room associated with this event.

Additional key-value pairs not signed by the homeserver.

The unique identifier for the user associated with this event.

Trait Implementations

impl Clone for HangupEvent
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for HangupEvent
[src]

Formats the value using the given formatter.

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

impl RoomEvent for HangupEvent
[src]

The unique identifier for the event.

The unique identifier for the room associated with this event.

Additional key-value pairs not signed by the homeserver.

The unique identifier for the user associated with this event.