Struct twilight_model::application::interaction::application_command::CommandInteractionDataResolved
source · [−]pub struct CommandInteractionDataResolved {
pub channels: HashMap<Id<ChannelMarker>, InteractionChannel>,
pub members: HashMap<Id<UserMarker>, InteractionMember>,
pub messages: HashMap<Id<MessageMarker>, Message>,
pub roles: HashMap<Id<RoleMarker>, Role>,
pub users: HashMap<Id<UserMarker>, User>,
}Fields
channels: HashMap<Id<ChannelMarker>, InteractionChannel>members: HashMap<Id<UserMarker>, InteractionMember>messages: HashMap<Id<MessageMarker>, Message>roles: HashMap<Id<RoleMarker>, Role>users: HashMap<Id<UserMarker>, User>Trait Implementations
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
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl Send for CommandInteractionDataResolved
impl Sync for CommandInteractionDataResolved
impl Unpin for CommandInteractionDataResolved
impl UnwindSafe for CommandInteractionDataResolved
Blanket Implementations
Mutably borrows from an owned value. 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