Struct slack_morphism_models::events::SlackCommandEvent [−][src]
pub struct SlackCommandEvent { pub team_id: SlackTeamId, pub channel_id: SlackChannelId, pub user_id: SlackUserId, pub command: SlackCommandId, pub text: Option<String>, pub response_url: String, pub trigger_id: SlackTriggerId, }
Fields
team_id: SlackTeamId
channel_id: SlackChannelId
user_id: SlackUserId
command: SlackCommandId
text: Option<String>
response_url: String
trigger_id: SlackTriggerId
Implementations
pub fn new(
team_id: SlackTeamId,
channel_id: SlackChannelId,
user_id: SlackUserId,
command: SlackCommandId,
response_url: String,
trigger_id: SlackTriggerId
) -> Self
[src]Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::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 !=
.
Auto Trait Implementations
impl RefUnwindSafe for SlackCommandEvent
impl Send for SlackCommandEvent
impl Sync for SlackCommandEvent
impl Unpin for SlackCommandEvent
impl UnwindSafe for SlackCommandEvent
Blanket Implementations
Mutably borrows from an owned value. Read more