Struct slack_morphism_hyper::listener::SlackAppMentionEvent [−][src]
pub struct SlackAppMentionEvent { pub user: SlackUserId, pub channel: SlackChannelId, pub content: SlackMessageContent, pub origin: SlackMessageOrigin, }
Fields
user: SlackUserId
channel: SlackChannelId
content: SlackMessageContent
origin: SlackMessageOrigin
Implementations
pub fn new(
user: SlackUserId,
channel: SlackChannelId,
content: SlackMessageContent,
origin: SlackMessageOrigin
) -> SlackAppMentionEvent
[src]Trait Implementations
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<SlackAppMentionEvent, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<SlackAppMentionEvent, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
[src]
pub fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
[src]Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for SlackAppMentionEvent
impl Send for SlackAppMentionEvent
impl Sync for SlackAppMentionEvent
impl Unpin for SlackAppMentionEvent
impl UnwindSafe for SlackAppMentionEvent
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more