Struct discord::model::PermissionOverwrite
[−]
[src]
pub struct PermissionOverwrite { pub kind: PermissionOverwriteType, pub allow: Permissions, pub deny: Permissions, }
A channel-specific permission overwrite for a role or member.
Fields
kind: PermissionOverwriteType
allow: Permissions
deny: Permissions
Methods
impl PermissionOverwrite
[src]
fn decode(value: Value) -> Result<PermissionOverwrite>
Trait Implementations
impl Debug for PermissionOverwrite
[src]
impl Clone for PermissionOverwrite
[src]
fn clone(&self) -> PermissionOverwrite
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