Struct slack_morphism::events::SlackCommandEventInit
source · pub struct SlackCommandEventInit {
pub team_id: SlackTeamId,
pub channel_id: SlackChannelId,
pub user_id: SlackUserId,
pub command: SlackCommandId,
pub response_url: SlackResponseUrl,
pub trigger_id: SlackTriggerId,
}
Fields§
§team_id: SlackTeamId
§channel_id: SlackChannelId
§user_id: SlackUserId
§command: SlackCommandId
§response_url: SlackResponseUrl
§trigger_id: SlackTriggerId
Trait Implementations§
source§impl From<SlackCommandEventInit> for SlackCommandEvent
impl From<SlackCommandEventInit> for SlackCommandEvent
source§fn from(value: SlackCommandEventInit) -> Self
fn from(value: SlackCommandEventInit) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for SlackCommandEventInit
impl Send for SlackCommandEventInit
impl Sync for SlackCommandEventInit
impl Unpin for SlackCommandEventInit
impl UnwindSafe for SlackCommandEventInit
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