]> Untitled Git - lemmy.git/blob - crates/apub/src/protocol/collections/group_featured.rs
Implement separate mod activities for feature, lock post (#2716)
[lemmy.git] / crates / apub / src / protocol / collections / group_featured.rs
1 use crate::protocol::objects::page::Page;
2 use activitystreams_kinds::collection::OrderedCollectionType;
3 use serde::{Deserialize, Serialize};
4 use url::Url;
5
6 #[derive(Clone, Debug, Deserialize, Serialize)]
7 #[serde(rename_all = "camelCase")]
8 pub struct GroupFeatured {
9   pub(crate) r#type: OrderedCollectionType,
10   pub(crate) id: Url,
11   pub(crate) total_items: i32,
12   pub(crate) ordered_items: Vec<Page>,
13 }