slack_morphism/models/events/
mod.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use rvstruct::ValueStruct;
use serde::{Deserialize, Serialize};

mod authorization;
mod command;
mod interaction;
mod push;

pub use authorization::*;
pub use command::*;
pub use interaction::*;
pub use push::*;

#[derive(Debug, Eq, PartialEq, Hash, Clone, Serialize, Deserialize, ValueStruct)]
pub struct SlackEventId(pub String);

#[derive(Debug, Eq, PartialEq, Hash, Clone, Serialize, Deserialize, ValueStruct)]
pub struct SlackEventContext(pub String);