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: SlackTeamIdchannel_id: SlackChannelIduser_id: SlackUserIdcommand: SlackCommandIdtext: Option<String>response_url: Stringtrigger_id: SlackTriggerIdImplementations
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 SlackCommandEventimpl Send for SlackCommandEventimpl Sync for SlackCommandEventimpl Unpin for SlackCommandEventimpl UnwindSafe for SlackCommandEventBlanket Implementations
Mutably borrows from an owned value. Read more