pub struct StreamMessagesPage<T> {
pub messages: Vec<StreamMessage<T>>,
pub next_page_token: String,
}Expand description
Contains one newest-first page returned by crate::Client::list_stream_messages.
Pass a nonempty Self::next_page_token unchanged to the next call. Stream trimming may remove
messages between pages.
Fields§
§messages: Vec<StreamMessage<T>>Retained Stream messages in newest-first order.
next_page_token: StringOpaque token for the next older page, or empty on the final page.
Trait Implementations§
Source§impl<T: Clone> Clone for StreamMessagesPage<T>
impl<T: Clone> Clone for StreamMessagesPage<T>
Auto Trait Implementations§
impl<T> Forget for StreamMessagesPage<T>
impl<T> Freeze for StreamMessagesPage<T>
impl<T> RefUnwindSafe for StreamMessagesPage<T>
impl<T> Send for StreamMessagesPage<T>
impl<T> Sync for StreamMessagesPage<T>
impl<T> Unpin for StreamMessagesPage<T>
impl<T> UnsafeUnpin for StreamMessagesPage<T>
impl<T> UnwindSafe for StreamMessagesPage<T>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request