pub struct SlackReactionRemovedEvent {
pub user: SlackUserId,
pub reaction: SlackReactionName,
pub item_user: Option<SlackUserId>,
pub item: SlackReactionsItem,
pub event_ts: SlackTs,
}
Fields§
§user: SlackUserId
§reaction: SlackReactionName
§item_user: Option<SlackUserId>
§item: SlackReactionsItem
§event_ts: SlackTs
Implementations§
Source§impl SlackReactionRemovedEvent
impl SlackReactionRemovedEvent
pub fn new( user: SlackUserId, reaction: SlackReactionName, item: SlackReactionsItem, event_ts: SlackTs, ) -> Self
pub fn user(&mut self, value: SlackUserId) -> &mut Self
pub fn with_user(self, value: SlackUserId) -> Self
pub fn reaction(&mut self, value: SlackReactionName) -> &mut Self
pub fn with_reaction(self, value: SlackReactionName) -> Self
pub fn item_user(&mut self, value: SlackUserId) -> &mut Self
pub fn reset_item_user(&mut self) -> &mut Self
pub fn mopt_item_user(&mut self, value: Option<SlackUserId>) -> &mut Self
pub fn with_item_user(self, value: SlackUserId) -> Self
pub fn without_item_user(self) -> Self
pub fn opt_item_user(self, value: Option<SlackUserId>) -> Self
pub fn item(&mut self, value: SlackReactionsItem) -> &mut Self
pub fn with_item(self, value: SlackReactionsItem) -> Self
pub fn event_ts(&mut self, value: SlackTs) -> &mut Self
pub fn with_event_ts(self, value: SlackTs) -> Self
Trait Implementations§
Source§impl Clone for SlackReactionRemovedEvent
impl Clone for SlackReactionRemovedEvent
Source§fn clone(&self) -> SlackReactionRemovedEvent
fn clone(&self) -> SlackReactionRemovedEvent
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SlackReactionRemovedEvent
impl Debug for SlackReactionRemovedEvent
Source§impl<'de> Deserialize<'de> for SlackReactionRemovedEvent
impl<'de> Deserialize<'de> for SlackReactionRemovedEvent
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<SlackReactionRemovedEventInit> for SlackReactionRemovedEvent
impl From<SlackReactionRemovedEventInit> for SlackReactionRemovedEvent
Source§fn from(value: SlackReactionRemovedEventInit) -> Self
fn from(value: SlackReactionRemovedEventInit) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for SlackReactionRemovedEvent
Auto Trait Implementations§
impl Freeze for SlackReactionRemovedEvent
impl RefUnwindSafe for SlackReactionRemovedEvent
impl Send for SlackReactionRemovedEvent
impl Sync for SlackReactionRemovedEvent
impl Unpin for SlackReactionRemovedEvent
impl UnwindSafe for SlackReactionRemovedEvent
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)