pub struct PageResponse {
pub next_key: Vec<u8>,
pub total: u64,
}
Fields§
§next_key: Vec<u8>
next_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results.
total: u64
total is the total number of results available if PageRequest.count_total was set, its value is undefined otherwise
Trait Implementations§
Source§impl Clone for PageResponse
impl Clone for PageResponse
Source§fn clone(&self) -> PageResponse
fn clone(&self) -> PageResponse
Returns a copy 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 PageResponse
impl Debug for PageResponse
Source§impl Default for PageResponse
impl Default for PageResponse
Source§fn default() -> PageResponse
fn default() -> PageResponse
Returns the “default value” for a type. Read more
Source§impl From<PageResponse> for PageResponse
impl From<PageResponse> for PageResponse
Source§fn from(response: PageResponse) -> Self
fn from(response: PageResponse) -> Self
Converts to this type from the input type.
Source§impl From<PageResponse> for PageResponse
impl From<PageResponse> for PageResponse
Source§fn from(response: RawPageResponse) -> Self
fn from(response: RawPageResponse) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PageResponse
impl RefUnwindSafe for PageResponse
impl Send for PageResponse
impl Sync for PageResponse
impl Unpin for PageResponse
impl UnwindSafe for PageResponse
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