Enum irc::proto::mode::UserMode [] [src]

pub enum UserMode {
    Away,
    Invisible,
    Wallops,
    Restricted,
    Oper,
    LocalOper,
    ServerNotices,
    MaskedHost,
    Unknown(char),
}

User modes for the MODE command.

Variants

a - user is flagged as away

i - marks a users as invisible

w - user receives wallops

r - restricted user connection

o - operator flag

O - local operator flag

s - marks a user for receipt of server notices

x - masked hostname

Any other unknown-to-the-crate mode.

Trait Implementations

impl Clone for UserMode
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for UserMode
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for UserMode
[src]

[src]

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

[src]

This method tests for !=.

impl ModeType for UserMode
[src]

[src]

Creates a command of this kind.

[src]

Returns true if this mode takes an argument, and false otherwise.

impl Display for UserMode
[src]

[src]

Formats the value using the given formatter. Read more