Enum discord::model::PermissionOverwriteType
[−]
[src]
pub enum PermissionOverwriteType { Member(UserId), Role(RoleId), }
The type of edit being made to a Channel's permissions.
Variants
Member(UserId)
Role(RoleId)
Trait Implementations
impl Copy for PermissionOverwriteType
[src]
impl Clone for PermissionOverwriteType
[src]
fn clone(&self) -> PermissionOverwriteType
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Eq for PermissionOverwriteType
[src]
impl PartialEq for PermissionOverwriteType
[src]
fn eq(&self, __arg_0: &PermissionOverwriteType) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &PermissionOverwriteType) -> bool
This method tests for !=
.