mirror of
https://github.com/LemmyNet/lemmy.git
synced 2025-01-12 13:05:55 +00:00
13 lines
444 B
Rust
13 lines
444 B
Rust
use crate::protocol::activities::community::announce::AnnounceActivity;
|
|
use activitystreams_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>,
|
|
}
|