pub struct PayloadPage {
pub payloads: Vec<Vec<u8>>,
pub start_time: i64,
pub end_time: i64,
pub start_digest: Vec<u8>,
pub end_digest: Vec<u8>,
}
Expand description
A page of payloads. Pulled from server via HTTP.
Fields§
§payloads: Vec<Vec<u8>>
Collection of payloads.
start_time: i64
The received time of the earliest payload in the page.
end_time: i64
The received time of the latest payload in the page.
start_digest: Vec<u8>
The payload digest of the earliest payload in the page.
end_digest: Vec<u8>
The payload digest of the latest payload in the page.
Trait Implementations§
Source§impl Clone for PayloadPage
impl Clone for PayloadPage
Source§fn clone(&self) -> PayloadPage
fn clone(&self) -> PayloadPage
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PayloadPage
impl Debug for PayloadPage
Source§impl Default for PayloadPage
impl Default for PayloadPage
Source§impl Into<PayloadPage> for MessagePage
impl Into<PayloadPage> for MessagePage
Source§fn into(self) -> PayloadPage
fn into(self) -> PayloadPage
Converts this type into the (usually inferred) input type.
Source§impl Message for PayloadPage
impl Message for PayloadPage
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Encodes the message to a buffer. Read more
Source§fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Encodes the message with a length-delimiter to a buffer. Read more
Source§fn decode<B>(buf: B) -> Result<Self, DecodeError>
fn decode<B>(buf: B) -> Result<Self, DecodeError>
Decodes an instance of the message from a buffer. Read more
Source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
Decodes a length-delimited instance of the message from the buffer.
Source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
Decodes an instance of the message from a buffer, and merges it into
self
. Read moreSource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
Decodes a length-delimited instance of the message from buffer, and
merges it into
self
.Source§impl PartialEq for PayloadPage
impl PartialEq for PayloadPage
impl StructuralPartialEq for PayloadPage
Auto Trait Implementations§
impl Freeze for PayloadPage
impl RefUnwindSafe for PayloadPage
impl Send for PayloadPage
impl Sync for PayloadPage
impl Unpin for PayloadPage
impl UnwindSafe for PayloadPage
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