Enum serenity::model::channel::PermissionOverwriteType[][src]

pub enum PermissionOverwriteType {
    Member(UserId),
    Role(RoleId),
}

The type of edit being made to a Channel's permissions.

This is for use with methods such as GuildChannel::create_permission.

Variants

A member which is having its permission overwrites edited.

A role which is having its permission overwrites edited.

Trait Implementations

impl Copy for PermissionOverwriteType
[src]

impl Clone for PermissionOverwriteType
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for PermissionOverwriteType
[src]

Formats the value using the given formatter. Read more

impl Eq for PermissionOverwriteType
[src]

impl PartialEq for PermissionOverwriteType
[src]

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

This method tests for !=.

Auto Trait Implementations