#[non_exhaustive]pub struct DeleteReactionRequest {
pub name: String,
/* private fields */
}Expand description
Deletes a reaction to a message.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: StringRequired. Name of the reaction to delete.
Format: spaces/{space}/messages/{message}/reactions/{reaction}
Implementations§
Trait Implementations§
Source§impl Clone for DeleteReactionRequest
impl Clone for DeleteReactionRequest
Source§fn clone(&self) -> DeleteReactionRequest
fn clone(&self) -> DeleteReactionRequest
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 DeleteReactionRequest
impl Debug for DeleteReactionRequest
Source§impl Default for DeleteReactionRequest
impl Default for DeleteReactionRequest
Source§fn default() -> DeleteReactionRequest
fn default() -> DeleteReactionRequest
Returns the “default value” for a type. Read more
Source§impl Message for DeleteReactionRequest
impl Message for DeleteReactionRequest
Source§impl PartialEq for DeleteReactionRequest
impl PartialEq for DeleteReactionRequest
impl StructuralPartialEq for DeleteReactionRequest
Auto Trait Implementations§
impl Freeze for DeleteReactionRequest
impl RefUnwindSafe for DeleteReactionRequest
impl Send for DeleteReactionRequest
impl Sync for DeleteReactionRequest
impl Unpin for DeleteReactionRequest
impl UnsafeUnpin for DeleteReactionRequest
impl UnwindSafe for DeleteReactionRequest
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