mirror of
https://github.com/LemmyNet/lemmy.git
synced 2025-01-15 22:45:56 +00:00
Nutomic
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
13 lines
452 B
Rust
13 lines
452 B
Rust
use crate::protocol::activities::community::announce::AnnounceActivity;
|
|
use activitypub_federation::kinds::collection::OrderedCollectionType;
|
|
use serde::{Deserialize, Serialize};
|
|
use url::Url;
|
|
|
|
#[derive(Clone, Debug, Deserialize, Serialize)]
|
|
#[serde(rename_all = "camelCase")]
|
|
pub struct GroupOutbox {
|
|
pub(crate) r#type: OrderedCollectionType,
|
|
pub(crate) id: Url,
|
|
pub(crate) total_items: i32,
|
|
pub(crate) ordered_items: Vec<AnnounceActivity>,
|
|
}
|