Struct pircolate::message::Message [] [src]

pub struct Message { /* fields omitted */ }

Representation of IRC messages that splits a message into its constituent parts specified in RFC1459 and the IRCv3 spec.

Methods

impl Message
[src]

Attempt to construct a new message from the given raw IRC message.

A strongly typed interface for determining the type of the command and retrieving the values of the command.

A strongly type way of accessing a specified tag associated with a message.

Retrieves the prefix for this message, if there is one. If there is either a user or host associated with the prefix, it will also return those.

Get an iterator to the raw key/value pairs of tags associated with this message.

Attempt to get the raw prefix value associated with this message.

Retrieve the raw command associated with this message.

Get an iterator to the raw arguments associated with this message.

Get the raw IRC command this message was constrcuted from.

Trait Implementations

impl Clone for Message
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Message
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for Message
[src]