pub struct SlackReactionInit {
pub name: SlackReactionName,
pub count: usize,
pub users: Vec<SlackUserId>,
}Expand description
Required fields of SlackReaction; convert with SlackReaction::from or .into().
Fields§
§name: SlackReactionNameValue for the name field of SlackReaction.
count: usizeValue for the count field of SlackReaction.
users: Vec<SlackUserId>Value for the users field of SlackReaction.
Trait Implementations§
Source§impl From<SlackReactionInit> for SlackReaction
impl From<SlackReactionInit> for SlackReaction
Source§fn from(value: SlackReactionInit) -> Self
fn from(value: SlackReactionInit) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SlackReactionInit
impl RefUnwindSafe for SlackReactionInit
impl Send for SlackReactionInit
impl Sync for SlackReactionInit
impl Unpin for SlackReactionInit
impl UnsafeUnpin for SlackReactionInit
impl UnwindSafe for SlackReactionInit
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