@@ -31,21 +31,25 @@ pub struct PagingOptions {
3131pub struct StoreQueryRequest {
3232 /// if true, the store-response will include the full message content. If false,
3333 /// the store-response will only include a list of message hashes.
34+ #[ serde( rename = "requestId" ) ]
3435 request_id : String ,
36+ #[ serde( rename = "includeData" ) ]
3537 include_data : bool ,
36- #[ serde( skip_serializing_if = "Option::is_none" ) ]
38+ #[ serde( rename = "pubsubTopic" , skip_serializing_if = "Option::is_none" ) ]
3739 pubsub_topic : Option < PubsubTopic > ,
40+ #[ serde( rename = "contentTopics" ) ]
3841 content_topics : Vec < WakuContentTopic > ,
39- #[ serde( skip_serializing_if = "Option::is_none" ) ]
42+ #[ serde( rename = "timeStart" , skip_serializing_if = "Option::is_none" ) ]
4043 time_start : Option < u64 > ,
41- #[ serde( skip_serializing_if = "Option::is_none" ) ]
44+ #[ serde( rename = "timeEnd" , skip_serializing_if = "Option::is_none" ) ]
4245 time_end : Option < u64 > ,
43- #[ serde( skip_serializing_if = "Option::is_none" ) ]
46+ #[ serde( rename = "messageHashes" , skip_serializing_if = "Option::is_none" ) ]
4447 message_hashes : Option < Vec < MessageHash > > ,
45- #[ serde( skip_serializing_if = "Option::is_none" ) ]
48+ #[ serde( rename = "paginationCursor" , skip_serializing_if = "Option::is_none" ) ]
4649 pagination_cursor : Option < MessageHash > , // Message hash (key) from where to start query (exclusive)
50+ #[ serde( rename = "paginationForward" ) ]
4751 pagination_forward : bool ,
48- #[ serde( skip_serializing_if = "Option::is_none" ) ]
52+ #[ serde( rename = "paginationLimit" , skip_serializing_if = "Option::is_none" ) ]
4953 pagination_limit : Option < u64 > ,
5054}
5155
0 commit comments