#[non_exhaustive]pub struct ReactionsRemoveRequest {
pub name: String,
pub file: Option<String>,
pub file_comment: Option<String>,
pub channel: Option<String>,
pub timestamp: Option<String>,
}Expand description
Arguments for the Slack Web API method reactions.remove: Removes a reaction from an item.
Send it with SlackClient::reactions_remove.
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: StringReaction (emoji) name.
file: Option<String>File to remove reaction from.
file_comment: Option<String>File comment to remove reaction from.
channel: Option<String>Channel where the message to remove reaction from was posted.
timestamp: Option<String>Timestamp of the message to remove reaction from.
Implementations§
Source§impl ReactionsRemoveRequest
impl ReactionsRemoveRequest
pub fn new(name: impl Into<String>) -> Self
pub fn file(self, file: impl Into<String>) -> Self
pub fn file_comment(self, file_comment: impl Into<String>) -> Self
pub fn channel(self, channel: impl Into<String>) -> Self
pub fn timestamp(self, timestamp: impl Into<String>) -> Self
Trait Implementations§
Source§impl Clone for ReactionsRemoveRequest
impl Clone for ReactionsRemoveRequest
Source§impl Debug for ReactionsRemoveRequest
impl Debug for ReactionsRemoveRequest
Source§impl PartialEq for ReactionsRemoveRequest
impl PartialEq for ReactionsRemoveRequest
Source§impl Serialize for ReactionsRemoveRequest
impl Serialize for ReactionsRemoveRequest
impl StructuralPartialEq for ReactionsRemoveRequest
Auto Trait Implementations§
impl Freeze for ReactionsRemoveRequest
impl RefUnwindSafe for ReactionsRemoveRequest
impl Send for ReactionsRemoveRequest
impl Sync for ReactionsRemoveRequest
impl Unpin for ReactionsRemoveRequest
impl UnsafeUnpin for ReactionsRemoveRequest
impl UnwindSafe for ReactionsRemoveRequest
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