pub struct SlackReactionAddedEventInit {
pub user: SlackUserId,
pub reaction: SlackReactionName,
pub item: SlackReactionsItem,
pub event_ts: SlackTs,
}Expand description
Required fields of SlackReactionAddedEvent; convert with SlackReactionAddedEvent::from or .into().
Fields§
§user: SlackUserIdValue for the user field of SlackReactionAddedEvent.
reaction: SlackReactionNameValue for the reaction field of SlackReactionAddedEvent.
item: SlackReactionsItemValue for the item field of SlackReactionAddedEvent.
event_ts: SlackTsValue for the event_ts field of SlackReactionAddedEvent.
Trait Implementations§
Source§impl From<SlackReactionAddedEventInit> for SlackReactionAddedEvent
impl From<SlackReactionAddedEventInit> for SlackReactionAddedEvent
Source§fn from(value: SlackReactionAddedEventInit) -> Self
fn from(value: SlackReactionAddedEventInit) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SlackReactionAddedEventInit
impl RefUnwindSafe for SlackReactionAddedEventInit
impl Send for SlackReactionAddedEventInit
impl Sync for SlackReactionAddedEventInit
impl Unpin for SlackReactionAddedEventInit
impl UnsafeUnpin for SlackReactionAddedEventInit
impl UnwindSafe for SlackReactionAddedEventInit
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