2021-11-18 17:04:28 +00:00
|
|
|
use crate::protocol::activities::community::announce::AnnounceActivity;
|
2021-11-19 17:47:06 +00:00
|
|
|
use activitystreams_kinds::collection::OrderedCollectionType;
|
2021-10-28 21:17:59 +00:00
|
|
|
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,
|
2021-11-18 17:04:28 +00:00
|
|
|
pub(crate) ordered_items: Vec<AnnounceActivity>,
|
2021-10-28 21:17:59 +00:00
|
|
|
}
|