Struct serenity::builder::EditInteractionResponse [−][src]
Tuple Fields
0: HashMap<&'static str, Value>
Implementations
Sets the InteractionApplicationCommandCallbackData
for the message.
Set the content of the message.
Note: Message contents must be under 2000 unicode code points.
pub fn create_embed<F>(&mut self, f: F) -> &mut Self where
F: FnOnce(&mut CreateEmbed) -> &mut CreateEmbed,
pub fn create_embed<F>(&mut self, f: F) -> &mut Self where
F: FnOnce(&mut CreateEmbed) -> &mut CreateEmbed,
Creates an embed for the message.
Adds an embed for the message.
Sets the embeds for the message.
Note: You can only have up to 10 embeds per message.
pub fn allowed_mentions<F>(&mut self, f: F) -> &mut Self where
F: FnOnce(&mut CreateAllowedMentions) -> &mut CreateAllowedMentions,
pub fn allowed_mentions<F>(&mut self, f: F) -> &mut Self where
F: FnOnce(&mut CreateAllowedMentions) -> &mut CreateAllowedMentions,
Set the allowed mentions for the message.
pub fn components<F>(&mut self, f: F) -> &mut Self where
F: FnOnce(&mut CreateComponents) -> &mut CreateComponents,
pub fn components<F>(&mut self, f: F) -> &mut Self where
F: FnOnce(&mut CreateComponents) -> &mut CreateComponents,
Sets the components of this message.
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for EditInteractionResponse
impl Send for EditInteractionResponse
impl Sync for EditInteractionResponse
impl Unpin for EditInteractionResponse
impl UnwindSafe for EditInteractionResponse
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