Enum dementia::RoomEvent [] [src]

pub enum RoomEvent {
    Message(Message),
    Name(String),
    Topic(String),
    Avatar {
        url: String,
    },
}

An event received from or to be sent to a room

Variants

A message in the room.

The name of the room.

The topice of the room.

The avatar (an image) of the room.

Fields of Avatar

Trait Implementations

Auto Trait Implementations

impl Send for RoomEvent

impl Sync for RoomEvent