mirror of
https://github.com/LemmyNet/lemmy.git
synced 2025-01-12 21:15:53 +00:00
13 lines
421 B
Rust
13 lines
421 B
Rust
|
use crate::{fetcher::object_id::ObjectId, objects::person::ApubPerson};
|
||
|
use activitystreams::collection::kind::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>>,
|
||
|
}
|