Struct serenity::model::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]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for PermissionOverwrite
[src]

[src]

Formats the value using the given formatter.

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

[src]

Deserialize this value from the given Serde deserializer. Read more