pub struct SetMessageReaction { /* private fields */ }Expand description
Builder for the setMessageReaction method.
Implementations§
Source§impl SetMessageReaction
impl SetMessageReaction
Sourcepub fn reaction(self, r: Vec<ReactionType>) -> Self
pub fn reaction(self, r: Vec<ReactionType>) -> Self
Sets the list of reaction types to apply to the message. Pass an empty list to remove all reactions.
Trait Implementations§
Source§impl IntoFuture for SetMessageReaction
impl IntoFuture for SetMessageReaction
Source§type IntoFuture = Pin<Box<dyn Future<Output = <SetMessageReaction as IntoFuture>::Output> + Send>>
type IntoFuture = Pin<Box<dyn Future<Output = <SetMessageReaction as IntoFuture>::Output> + Send>>
Which kind of future are we turning this into?
Source§fn into_future(self) -> Self::IntoFuture
fn into_future(self) -> Self::IntoFuture
Creates a future from a value. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for SetMessageReaction
impl !UnwindSafe for SetMessageReaction
impl Freeze for SetMessageReaction
impl Send for SetMessageReaction
impl Sync for SetMessageReaction
impl Unpin for SetMessageReaction
impl UnsafeUnpin for SetMessageReaction
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more