mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-09-27 05:50:03 +00:00
6f513793cb
* update activitypub-federation crate to 0.4.0 * fixes * apub compiles! * everything compiling! * almost done, federated follow failing * some test fixes * use release * add code back in
15 lines
434 B
Rust
15 lines
434 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>>,
|
|
}
|