Enum serenity::model::channel::PermissionOverwriteType [−][src]
Expand description
The type of edit being made to a Channel’s permissions.
This is for use with methods such as GuildChannel::create_permission
.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Member(UserId)
Tuple Fields
0: UserId
A member which is having its permission overwrites edited.
Role(RoleId)
Tuple Fields
0: RoleId
A role which is having its permission overwrites edited.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for PermissionOverwriteType
impl Send for PermissionOverwriteType
impl Sync for PermissionOverwriteType
impl Unpin for PermissionOverwriteType
impl UnwindSafe for PermissionOverwriteType
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more