pub fn room(&self) -> Option<&Room> {
        match *self {
            Source::User(_) => None,
            Source::UserInRoom(_, ref room) => Some(room),
        }
    }
/// The room the message was sent from, if any.
The room the message was sent from, if any.
The room the message was sent from if any .
pub fn room(&self) -> Option<&Room> {
        match *self {
            Source::User(_) => None,
            Source::UserInRoom(_, ref room) => Some(room),
        }
    }
pub fn room ( & self ) -> Option < & Room > { match * self { Source :: User ( _ ) => None , Source :: UserInRoom ( _ , ref room ) => Some ( room ) , } }
The room the message was sent from, if any.
The room the message was sent from if any .
&self
&self