You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lemmy/crates/apub/src/protocol/collections/group_moderators.rs

14 lines
444 B
Rust

use crate::objects::person::ApubPerson;
use activitypub_federation::core::object_id::ObjectId;
use activitystreams_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>>,
}