Struct ruma_events::tag::TagEvent
[−]
[src]
pub struct TagEvent { pub content: TagEventContent, pub event_type: EventType, }
Informs the client of tags on a room.
Fields
content: TagEventContent
The event's content.
event_type: EventType
The type of the event.
Trait Implementations
impl Clone for TagEvent
[src]
fn clone(&self) -> TagEvent
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 TagEvent
[src]
impl Event for TagEvent
[src]
type Content = TagEventContent
The event-type-specific payload this event carries.
fn content(&self) -> &<TagEvent as Event>::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