Skip to content

Commit

Permalink
avoid warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivansete-status committed Dec 23, 2024
1 parent 5b0204f commit 863f208
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions waku-bindings/src/node/store.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 863f208

Please sign in to comment.