mirror of
https://github.com/logos-messaging/logos-messaging-rust-bindings.git
synced 2026-01-07 00:13:10 +00:00
Added MessageIndex type doc header
This commit is contained in:
parent
56a9cc1f39
commit
6ff110bbe8
@ -230,10 +230,11 @@ pub struct PagingOptions {
|
|||||||
pub forward: bool,
|
pub forward: bool,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// Pagination index type
|
||||||
#[derive(Clone, Serialize, Deserialize)]
|
#[derive(Clone, Serialize, Deserialize)]
|
||||||
#[serde(rename_all = "camelCase")]
|
#[serde(rename_all = "camelCase")]
|
||||||
pub struct MessageIndex {
|
pub struct MessageIndex {
|
||||||
/// Hash of the message at this [`MessageIndex`]
|
/// Hash of the message at this [``MessageIndex`]
|
||||||
pub digest: String,
|
pub digest: String,
|
||||||
/// UNIX timestamp in nanoseconds at which the message at this [`MessageIndex`] was received
|
/// UNIX timestamp in nanoseconds at which the message at this [`MessageIndex`] was received
|
||||||
pub receiver_time: usize,
|
pub receiver_time: usize,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user