Struct serenity::model::channel::PermissionOverwrite[][src]

pub struct PermissionOverwrite {
    pub allow: Permissions,
    pub deny: Permissions,
    pub kind: PermissionOverwriteType,
}

A channel-specific permission overwrite for a member or role.

Fields

Trait Implementations

impl Clone for PermissionOverwrite
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for PermissionOverwrite
[src]

Formats the value using the given formatter. Read more

impl<'de> Deserialize<'de> for PermissionOverwrite
[src]

Deserialize this value from the given Serde deserializer. Read more

impl Serialize for PermissionOverwrite
[src]

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations