Enum irksome::Prefix [] [src]

pub enum Prefix {
    Server {
        host: String,
    },
    User {
        nick: String,
        ident: String,
        host: String,
    },
}

The prefiix of a message determines its source.

Variants

A message sent by a server.

Fields of Server

The hostname of the server that sent the message.

A message sent by a user.

Fields of User

The user's nickname.

The user's identifier.

The user's host.