lemmy/crates/apub/src/protocol/activities/mod.rs

16 lines
299 B
Rust
Raw Normal View History

use serde::{Deserialize, Serialize};
2021-12-14 13:30:37 +00:00
use strum_macros::Display;
pub mod block;
pub mod community;
pub mod create_or_update;
pub mod deletion;
pub mod following;
pub mod voting;
2021-12-14 13:30:37 +00:00
#[derive(Clone, Debug, Display, Deserialize, Serialize, PartialEq)]
pub enum CreateOrUpdateType {
Create,
Update,
}