#[non_exhaustive]pub struct GetReactions {
pub kind: Option<ReactionType>,
pub after: Option<UserId>,
pub limit: Option<u8>,
}Expand description
The query of Get Reactions
(GET /channels/{channel.id}/messages/{message.id}/reactions/{emoji}).
discord.js counterpart: ReactionManager#fetch options.
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.kind: Option<ReactionType>Normal or super reactions (Discord’s default: normal).
after: Option<UserId>Users after this user.
limit: Option<u8>How many users (1-100; Discord’s default is 25).
Trait Implementations§
Source§impl Clone for GetReactions
impl Clone for GetReactions
impl Copy for GetReactions
Source§impl Debug for GetReactions
impl Debug for GetReactions
Source§impl Default for GetReactions
impl Default for GetReactions
impl Eq for GetReactions
Source§impl Hash for GetReactions
impl Hash for GetReactions
Source§impl PartialEq for GetReactions
impl PartialEq for GetReactions
impl StructuralPartialEq for GetReactions
Auto Trait Implementations§
impl Freeze for GetReactions
impl RefUnwindSafe for GetReactions
impl Send for GetReactions
impl Sync for GetReactions
impl Unpin for GetReactions
impl UnsafeUnpin for GetReactions
impl UnwindSafe for GetReactions
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