mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-05-20 18:58:05 +00:00
15 lines
432 B
Rust
15 lines
432 B
Rust
use crate::objects::person::ApubPerson;
|
|
use activitypub_federation::{
|
|
fetch::object_id::ObjectId, kinds::collection::OrderedCollectionType,
|
|
};
|
|
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>>,
|
|
}
|