Struct serenity::builder::CreateInteractionResponse [−][src]
Tuple Fields
0: HashMap<&'static str, Value>
Implementations
Sets the InteractionResponseType of the message.
Defaults to ChannelMessageWithSource
.
pub fn interaction_response_data<F>(&mut self, f: F) -> &mut Self where
F: FnOnce(&mut CreateInteractionResponseData) -> &mut CreateInteractionResponseData,
pub fn interaction_response_data<F>(&mut self, f: F) -> &mut Self where
F: FnOnce(&mut CreateInteractionResponseData) -> &mut CreateInteractionResponseData,
Sets the InteractionApplicationCommandCallbackData
for the message.
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for CreateInteractionResponse
impl Send for CreateInteractionResponse
impl Sync for CreateInteractionResponse
impl Unpin for CreateInteractionResponse
impl UnwindSafe for CreateInteractionResponse
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