Struct slack_morphism_models::events::SlackEventCallback [−][src]
pub struct SlackEventCallback {
pub team_id: SlackTeamId,
pub api_app_id: SlackAppId,
pub event: SlackEventCallbackBody,
pub event_id: SlackEventId,
pub event_time: SlackDateTime,
pub event_context: Option<SlackEventContext>,
pub authed_users: Option<Vec<SlackUserId>>,
pub authorizations: Option<Vec<SlackEventAuthorization>>,
}Fields
team_id: SlackTeamIdapi_app_id: SlackAppIdevent: SlackEventCallbackBodyevent_id: SlackEventIdevent_time: SlackDateTimeevent_context: Option<SlackEventContext>authed_users: Option<Vec<SlackUserId>>Implementations
pub fn new(
team_id: SlackTeamId,
api_app_id: SlackAppId,
event: SlackEventCallbackBody,
event_id: SlackEventId,
event_time: SlackDateTime
) -> 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 SlackEventCallbackimpl Send for SlackEventCallbackimpl Sync for SlackEventCallbackimpl Unpin for SlackEventCallbackimpl UnwindSafe for SlackEventCallbackBlanket Implementations
Mutably borrows from an owned value. Read more