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
Server
A message sent by a server.
Fields of Server
host: String | The hostname of the server that sent the message. |
User
A message sent by a user.
Fields of User
nick: String | The user's nickname. |
ident: String | The user's identifier. |
host: String | The user's host. |