Struct cashweb::relay::MessagePage[][src]

pub struct MessagePage {
    pub messages: Vec<Message, Global>,
    pub start_time: i64,
    pub end_time: i64,
    pub start_digest: Vec<u8, Global>,
    pub end_digest: Vec<u8, Global>,
}

A page of messages. Pulled from server via HTTP.

Fields

messages: Vec<Message, Global>

Collection of messages.

start_time: i64

The received time of the earliest message in the page.

end_time: i64

The received time of the latest message in the page.

start_digest: Vec<u8, Global>

The payload digest of the earliest message in the page.

end_digest: Vec<u8, Global>

The payload digest of the latest message in the page.

Implementations

impl MessagePage[src]

pub fn into_payload_page(self) -> PayloadPage[src]

Convert the MessagePage into a PayloadPage.

Trait Implementations

impl Clone for MessagePage[src]

impl Debug for MessagePage[src]

impl Default for MessagePage[src]

impl Into<PayloadPage> for MessagePage[src]

impl Message for MessagePage[src]

impl PartialEq<MessagePage> for MessagePage[src]

impl StructuralPartialEq for MessagePage[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,