pub struct SlackAppMentionEventInit {
pub user: SlackUserId,
pub channel: SlackChannelId,
pub content: SlackMessageContent,
pub origin: SlackMessageOrigin,
}Expand description
Required fields of SlackAppMentionEvent; convert with SlackAppMentionEvent::from or .into().
Fields§
§user: SlackUserIdValue for the user field of SlackAppMentionEvent.
channel: SlackChannelIdValue for the channel field of SlackAppMentionEvent.
content: SlackMessageContentValue for the content field of SlackAppMentionEvent.
origin: SlackMessageOriginValue for the origin field of SlackAppMentionEvent.
Trait Implementations§
Source§impl From<SlackAppMentionEventInit> for SlackAppMentionEvent
impl From<SlackAppMentionEventInit> for SlackAppMentionEvent
Source§fn from(value: SlackAppMentionEventInit) -> Self
fn from(value: SlackAppMentionEventInit) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SlackAppMentionEventInit
impl RefUnwindSafe for SlackAppMentionEventInit
impl Send for SlackAppMentionEventInit
impl Sync for SlackAppMentionEventInit
impl Unpin for SlackAppMentionEventInit
impl UnsafeUnpin for SlackAppMentionEventInit
impl UnwindSafe for SlackAppMentionEventInit
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