]> Untitled Git - lemmy.git/blobdiff - crates/apub/src/protocol/activities/deletion/undo_delete.rs
Reorganize federation tests (#2092)
[lemmy.git] / crates / apub / src / protocol / activities / deletion / undo_delete.rs
index f2f2d764494d84c76204e92171b6222b4611b1f4..bc5b942ffb6e87736e9c77371cd45f2eb2ca4255 100644 (file)
@@ -14,13 +14,14 @@ pub struct UndoDelete {
   #[serde(deserialize_with = "crate::deserialize_one_or_many")]
   pub(crate) to: Vec<Url>,
   pub(crate) object: Delete,
+  #[serde(rename = "type")]
+  pub(crate) kind: UndoType,
+  pub(crate) id: Url,
+
   #[serde(deserialize_with = "crate::deserialize_one_or_many")]
   #[serde(default)]
   #[serde(skip_serializing_if = "Vec::is_empty")]
   pub(crate) cc: Vec<Url>,
-  #[serde(rename = "type")]
-  pub(crate) kind: UndoType,
-  pub(crate) id: Url,
   #[serde(flatten)]
   pub(crate) unparsed: Unparsed,
 }