Enum serenity::model::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
Member(UserId)A member which is having its permission overwrites edited.
Role(RoleId)A role which is having its permission overwrites edited.
Trait Implementations
impl Copy for PermissionOverwriteType[src]
impl Clone for PermissionOverwriteType[src]
fn clone(&self) -> PermissionOverwriteType[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Debug for PermissionOverwriteType[src]
impl Eq for PermissionOverwriteType[src]
impl PartialEq for PermissionOverwriteType[src]
fn eq(&self, __arg_0: &PermissionOverwriteType) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &PermissionOverwriteType) -> bool[src]
This method tests for !=.