From 6ff110bbe8a555ee2957287d0d4661f4d475d702 Mon Sep 17 00:00:00 2001 From: Daniel Sanchez Quiros Date: Sun, 9 Oct 2022 09:09:55 -0500 Subject: [PATCH] Added MessageIndex type doc header --- waku/src/general/mod.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/waku/src/general/mod.rs b/waku/src/general/mod.rs index e055324..b5120cb 100644 --- a/waku/src/general/mod.rs +++ b/waku/src/general/mod.rs @@ -230,10 +230,11 @@ pub struct PagingOptions { pub forward: bool, } +/// Pagination index type #[derive(Clone, Serialize, Deserialize)] #[serde(rename_all = "camelCase")] pub struct MessageIndex { - /// Hash of the message at this [`MessageIndex`] + /// Hash of the message at this [``MessageIndex`] pub digest: String, /// UNIX timestamp in nanoseconds at which the message at this [`MessageIndex`] was received pub receiver_time: usize,