2021-11-05 00:24:10 +00:00
|
|
|
use crate::objects::person::ApubPerson;
|
2021-11-19 17:47:06 +00:00
|
|
|
use activitystreams_kinds::collection::OrderedCollectionType;
|
2021-11-05 00:24:10 +00:00
|
|
|
use lemmy_apub_lib::object_id::ObjectId;
|
2021-10-28 21:17:59 +00:00
|
|
|
use serde::{Deserialize, Serialize};
|
|
|
|
use url::Url;
|
|
|
|
|
|
|
|
#[derive(Clone, Debug, Deserialize, Serialize)]
|
|
|
|
#[serde(rename_all = "camelCase")]
|
|
|
|
pub struct GroupModerators {
|
|
|
|
pub(crate) r#type: OrderedCollectionType,
|
|
|
|
pub(crate) id: Url,
|
|
|
|
pub(crate) ordered_items: Vec<ObjectId<ApubPerson>>,
|
|
|
|
}
|