pub struct DeleteReaction { /* private fields */ }Expand description
Builder for Reactions::delete; .await it to remove the reaction.
Resolves to () on success (the endpoint returns 204 with no body).
Implementations§
Source§impl DeleteReaction
impl DeleteReaction
Sourcepub fn kind(self, kind: ReactionType) -> Self
pub fn kind(self, kind: ReactionType) -> Self
Sets the reaction aggregation model. Defaults to ReactionType::Distinct.
Trait Implementations§
Source§impl Clone for DeleteReaction
impl Clone for DeleteReaction
Source§fn clone(&self) -> DeleteReaction
fn clone(&self) -> DeleteReaction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DeleteReaction
impl Debug for DeleteReaction
Source§impl IntoFuture for DeleteReaction
impl IntoFuture for DeleteReaction
Source§type IntoFuture = Pin<Box<dyn Future<Output = <DeleteReaction as IntoFuture>::Output> + Send>>
type IntoFuture = Pin<Box<dyn Future<Output = <DeleteReaction 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 DeleteReaction
impl !UnwindSafe for DeleteReaction
impl Freeze for DeleteReaction
impl Send for DeleteReaction
impl Sync for DeleteReaction
impl Unpin for DeleteReaction
impl UnsafeUnpin for DeleteReaction
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