Struct serenity::model::channel::PermissionOverwrite [−][src]
pub struct PermissionOverwrite {
pub allow: Permissions,
pub deny: Permissions,
pub kind: PermissionOverwriteType,
}
Expand description
A channel-specific permission overwrite for a member or role.
Fields
allow: Permissions
deny: Permissions
kind: PermissionOverwriteType
Trait Implementations
fn deserialize<D: Deserializer<'de>>(
deserializer: D
) -> StdResult<PermissionOverwrite, D::Error>
fn deserialize<D: Deserializer<'de>>(
deserializer: D
) -> StdResult<PermissionOverwrite, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for PermissionOverwrite
impl Send for PermissionOverwrite
impl Sync for PermissionOverwrite
impl Unpin for PermissionOverwrite
impl UnwindSafe for PermissionOverwrite
Blanket Implementations
Mutably borrows from an owned value. Read more
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