pub fn user(&self) -> &User {
        match *self {
            Source::User(ref user) => user,
            Source::UserInRoom(ref user, _) => user,
        }
    }
/// The user that sent the message.
The user that sent the message.
The user that sent the message .
pub fn user(&self) -> &User {
        match *self {
            Source::User(ref user) => user,
            Source::UserInRoom(ref user, _) => user,
        }
    }
pub fn user ( & self ) -> & User { match * self { Source :: User ( ref user ) => user , Source :: UserInRoom ( ref user , _ ) => user , } }
The user that sent the message.
The user that sent the message .
&self
&self