#[non_exhaustive]pub struct ReactionsAddRequest {
pub channel: String,
pub name: String,
pub timestamp: String,
}Expand description
Arguments for the Slack Web API method reactions.add: Adds a reaction to an item.
Send it with SlackClient::reactions_add.
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.channel: StringChannel where the message to add reaction to was posted.
name: StringReaction (emoji) name
timestamp: StringTimestamp of the message to add reaction to.
Implementations§
Trait Implementations§
Source§impl Clone for ReactionsAddRequest
impl Clone for ReactionsAddRequest
Source§impl Debug for ReactionsAddRequest
impl Debug for ReactionsAddRequest
Source§impl PartialEq for ReactionsAddRequest
impl PartialEq for ReactionsAddRequest
Source§impl Serialize for ReactionsAddRequest
impl Serialize for ReactionsAddRequest
Source§impl SlackApiMethod for ReactionsAddRequest
impl SlackApiMethod for ReactionsAddRequest
impl StructuralPartialEq for ReactionsAddRequest
Auto Trait Implementations§
impl Freeze for ReactionsAddRequest
impl RefUnwindSafe for ReactionsAddRequest
impl Send for ReactionsAddRequest
impl Sync for ReactionsAddRequest
impl Unpin for ReactionsAddRequest
impl UnsafeUnpin for ReactionsAddRequest
impl UnwindSafe for ReactionsAddRequest
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