]> Untitled Git - lemmy.git/blobdiff - crates/apub/src/protocol/activities/block/block_user.rs
Reorganize federation tests (#2092)
[lemmy.git] / crates / apub / src / protocol / activities / block / block_user.rs
index 5d49fc602a00d1fcaee319da37ae7d202932ece6..ab4e3eca91653f32399d378d393154a7db340c2f 100644 (file)
@@ -17,13 +17,14 @@ pub struct BlockUser {
   pub(crate) target: ObjectId<SiteOrCommunity>,
   #[serde(rename = "type")]
   pub(crate) kind: BlockType,
+  pub(crate) id: Url,
+
   /// Quick and dirty solution.
   /// TODO: send a separate Delete activity instead
   pub(crate) remove_data: Option<bool>,
   /// block reason, written to mod log
   pub(crate) summary: Option<String>,
-  pub(crate) id: Url,
+  pub(crate) expires: Option<DateTime<FixedOffset>>,
   #[serde(flatten)]
   pub(crate) unparsed: Unparsed,
-  pub(crate) expires: Option<DateTime<FixedOffset>>,
 }