Struct ruma_events::typing::TypingEvent
[−]
[src]
pub struct TypingEvent { pub content: TypingEventContent, pub event_type: EventType, pub room_id: RoomId, }
Informs the client of the list of users currently typing.
Fields
content: TypingEventContent
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 TypingEvent
[src]
fn clone(&self) -> TypingEvent
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 TypingEvent
[src]
impl Event for TypingEvent
[src]
type Content = TypingEventContent
The event-type-specific payload this event carries.
fn content(&self) -> &TypingEvent::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