#[non_exhaustive]pub struct ReactionsGetRequest {
pub channel: Option<String>,
pub file: Option<String>,
pub file_comment: Option<String>,
pub full: Option<bool>,
pub timestamp: Option<String>,
}Expand description
Arguments for the Slack Web API method reactions.get: Gets reactions for an item.
Send it with SlackClient::reactions_get.
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: Option<String>Channel where the message to get reactions for was posted.
file: Option<String>File to get reactions for.
file_comment: Option<String>File comment to get reactions for.
full: Option<bool>If true always return the complete reaction list.
timestamp: Option<String>Timestamp of the message to get reactions for.
Implementations§
Source§impl ReactionsGetRequest
impl ReactionsGetRequest
pub fn new() -> Self
pub fn channel(self, channel: 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 full(self, full: bool) -> Self
pub fn timestamp(self, timestamp: impl Into<String>) -> Self
Trait Implementations§
Source§impl Clone for ReactionsGetRequest
impl Clone for ReactionsGetRequest
Source§impl Debug for ReactionsGetRequest
impl Debug for ReactionsGetRequest
Source§impl Default for ReactionsGetRequest
impl Default for ReactionsGetRequest
Source§impl PartialEq for ReactionsGetRequest
impl PartialEq for ReactionsGetRequest
Source§impl Serialize for ReactionsGetRequest
impl Serialize for ReactionsGetRequest
Source§impl SlackApiMethod for ReactionsGetRequest
impl SlackApiMethod for ReactionsGetRequest
impl StructuralPartialEq for ReactionsGetRequest
Auto Trait Implementations§
impl Freeze for ReactionsGetRequest
impl RefUnwindSafe for ReactionsGetRequest
impl Send for ReactionsGetRequest
impl Sync for ReactionsGetRequest
impl Unpin for ReactionsGetRequest
impl UnsafeUnpin for ReactionsGetRequest
impl UnwindSafe for ReactionsGetRequest
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