Struct disint_model::interaction::response::InteractionResponseBuilder [−][src]
Implementations
impl InteractionResponseBuilder<Pong>
[src]
pub fn pong() -> Self
[src]
pub fn finish(self) -> InteractionResponse
[src]
impl InteractionResponseBuilder<Deferred>
[src]
pub fn deferred() -> Self
[src]
pub fn finish(self) -> InteractionResponse
[src]
impl InteractionResponseBuilder<ChannelMessageNoContent>
[src]
pub fn channel_message() -> Self
[src]
pub fn content(
self,
content: impl Into<String>
) -> InteractionResponseBuilder<ChannelMessage>
[src]
self,
content: impl Into<String>
) -> InteractionResponseBuilder<ChannelMessage>
pub fn tts(self, tts: bool) -> Self
[src]
pub fn embed(self, embed: Embed) -> InteractionResponseBuilder<ChannelMessage>
[src]
pub fn allowed_mentions(self, allowed_mentions: AllowedMentions) -> Self
[src]
impl InteractionResponseBuilder<ChannelMessage>
[src]
pub fn finish(self) -> InteractionResponse
[src]
pub fn content(self, content: impl Into<String>) -> Self
[src]
pub fn tts(self, tts: bool) -> Self
[src]
pub fn embed(self, embed: Embed) -> Self
[src]
pub fn allowed_mentions(self, allowed_mentions: AllowedMentions) -> Self
[src]
Trait Implementations
impl<State: Debug> Debug for InteractionResponseBuilder<State>
[src]
Auto Trait Implementations
impl<State> RefUnwindSafe for InteractionResponseBuilder<State> where
State: RefUnwindSafe,
State: RefUnwindSafe,
impl<State> Send for InteractionResponseBuilder<State> where
State: Send,
State: Send,
impl<State> Sync for InteractionResponseBuilder<State> where
State: Sync,
State: Sync,
impl<State> Unpin for InteractionResponseBuilder<State> where
State: Unpin,
State: Unpin,
impl<State> UnwindSafe for InteractionResponseBuilder<State> where
State: UnwindSafe,
State: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,