avoid warnings

This commit is contained in:
Ivan Folgueira Bande 2024-12-23 01:13:15 +01:00
parent 5b0204f6b1
commit 863f2081f0
No known key found for this signature in database
GPG Key ID: 3C117481F89E24A7

View File

@ -88,6 +88,7 @@ impl StoreQueryRequest {
self
}
#[allow(dead_code)]
pub fn with_message_hashes(mut self, message_hashes: Vec<MessageHash>) -> Self {
self.message_hashes = Some(message_hashes);
self
@ -115,9 +116,14 @@ pub struct StoreWakuMessageResponse {
#[derive(Clone, Deserialize, Debug)]
#[serde(rename_all = "camelCase")]
pub struct StoreResponse {
#[allow(unused)]
pub request_id: String,
#[serde(skip_serializing_if = "Option::is_none")]
#[allow(unused)]
pub status_code: u32,
#[allow(unused)]
pub status_desc: String,
/// Array of retrieved historical messages in [`WakuMessage`] format