Enum discord::model::PermissionOverwriteType [] [src]

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

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

Variants

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 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 !=.

impl Debug for PermissionOverwriteType
[src]

Formats the value using the given formatter.