Enum serenity::model::channel::PermissionOverwriteType [−][src]
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 Copy for PermissionOverwriteType
impl Clone for PermissionOverwriteType
[src]
impl Clone for PermissionOverwriteType
fn clone(&self) -> PermissionOverwriteType
[src]
fn clone(&self) -> PermissionOverwriteType
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for PermissionOverwriteType
[src]
impl Debug for PermissionOverwriteType
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Eq for PermissionOverwriteType
[src]
impl Eq for PermissionOverwriteType
impl PartialEq for PermissionOverwriteType
[src]
impl PartialEq for PermissionOverwriteType
fn eq(&self, other: &PermissionOverwriteType) -> bool
[src]
fn eq(&self, other: &PermissionOverwriteType) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &PermissionOverwriteType) -> bool
[src]
fn ne(&self, other: &PermissionOverwriteType) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for PermissionOverwriteType
impl Send for PermissionOverwriteType
impl Sync for PermissionOverwriteType
impl Sync for PermissionOverwriteType