pub struct ReadReply {
pub messages: Vec<Message>,
pub next: Option<u64>,
pub woken: Vec<Message>,
pub keys: Keys,
pub trusted: bool,
}Fields§
§messages: Vec<Message>At most one page of messages (01M3TBZBX140GJWCV5GZ73Q5Z5).
next: Option<u64>The seq of the last message of the page, when more messages
follow. Read again for the next page: with all, set
Read::after to it.
woken: Vec<Message>In an unread read: each message after the page that woke me
and that no read showed yet. The read marks it as seen, so the
next watch does not wake for it (01M588J4XNV1TXEPMGTKRVY9VK).
keys: KeysThe keys of the user of each sender, to verify the messages.
trusted: boolTrue from a riff with no sign-in: it trusts each caller (R211).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ReadReply
impl<'de> Deserialize<'de> for ReadReply
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl JsonSchema for ReadReply
impl JsonSchema for ReadReply
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for ReadReply
impl RefUnwindSafe for ReadReply
impl Send for ReadReply
impl Sync for ReadReply
impl Unpin for ReadReply
impl UnsafeUnpin for ReadReply
impl UnwindSafe for ReadReply
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more