Trait ResponseTrait

Source
pub trait ResponseTrait {
    // Required methods
    fn set_content(&self, content: String) -> ResponseStruct;
    fn add_flag(
        &self,
        flag: InteractionApplicationCommandCallbackDataFlags,
    ) -> ResponseStruct;
    fn change_kind(&self, kind: InteractionResponseType) -> ResponseStruct;
    fn set_embed(&self, embed: CreateEmbed) -> ResponseStruct;
}

Required Methods§

Implementors§