mirror of
https://github.com/LemmyNet/lemmy.git
synced 2025-01-12 13:05:55 +00:00
13 lines
430 B
Rust
13 lines
430 B
Rust
use crate::objects::person::ApubPerson;
|
|
use activitystreams_kinds::collection::OrderedCollectionType;
|
|
use lemmy_apub_lib::object_id::ObjectId;
|
|
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>>,
|
|
}
|