16 lines
300 B
Rust
16 lines
300 B
Rust
|
use serde::{Deserialize, Serialize};
|
||
|
use strum_macros::ToString;
|
||
|
|
||
|
pub mod community;
|
||
|
pub mod create_or_update;
|
||
|
pub mod deletion;
|
||
|
pub mod following;
|
||
|
pub mod private_message;
|
||
|
pub mod voting;
|
||
|
|
||
|
#[derive(Clone, Debug, ToString, Deserialize, Serialize)]
|
||
|
pub enum CreateOrUpdateType {
|
||
|
Create,
|
||
|
Update,
|
||
|
}
|