mirror of
https://github.com/LemmyNet/lemmy.git
synced 2025-01-13 05:25:53 +00:00
14 lines
441 B
Rust
14 lines
441 B
Rust
|
use crate::activities::post::create_or_update::CreateOrUpdatePost;
|
||
|
use activitystreams::collection::kind::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<CreateOrUpdatePost>,
|
||
|
}
|