Struct serenity::model::interactions::application_command::ApplicationCommandInteractionDataResolved [−][src]
#[non_exhaustive]pub struct ApplicationCommandInteractionDataResolved {
pub users: HashMap<UserId, User>,
pub members: HashMap<UserId, PartialMember>,
pub roles: HashMap<RoleId, Role>,
pub channels: HashMap<ChannelId, PartialChannel>,
pub messages: HashMap<MessageId, Message>,
}
Expand description
The resolved data of a command data interaction payload.
It contains the objects of ApplicationCommandInteractionDataOption
s.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.users: HashMap<UserId, User>
The resolved users.
members: HashMap<UserId, PartialMember>
The resolved partial members.
roles: HashMap<RoleId, Role>
The resolved roles.
channels: HashMap<ChannelId, PartialChannel>
The resolved partial channels.
messages: HashMap<MessageId, Message>
The resolved messages.
Trait Implementations
Returns the “default value” for a type. Read more
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
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