Struct twilight_model::gateway::payload::incoming::CommandPermissionsUpdate
source · pub struct CommandPermissionsUpdate(pub GuildCommandPermissions);
Tuple Fields§
§0: GuildCommandPermissions
Trait Implementations§
source§impl Clone for CommandPermissionsUpdate
impl Clone for CommandPermissionsUpdate
source§fn clone(&self) -> CommandPermissionsUpdate
fn clone(&self) -> CommandPermissionsUpdate
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CommandPermissionsUpdate
impl Debug for CommandPermissionsUpdate
source§impl Deref for CommandPermissionsUpdate
impl Deref for CommandPermissionsUpdate
source§impl DerefMut for CommandPermissionsUpdate
impl DerefMut for CommandPermissionsUpdate
source§impl<'de> Deserialize<'de> for CommandPermissionsUpdate
impl<'de> Deserialize<'de> for CommandPermissionsUpdate
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<CommandPermissionsUpdate> for CommandPermissionsUpdate
impl PartialEq<CommandPermissionsUpdate> for CommandPermissionsUpdate
source§fn eq(&self, other: &CommandPermissionsUpdate) -> bool
fn eq(&self, other: &CommandPermissionsUpdate) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.