[][src]Struct ibc_proto::base::query::v1beta1::PageResponse

pub struct PageResponse {
    pub next_key: Vec<u8>,
    pub total: u64,
}

PageResponse is to be embedded in gRPC response messages where the corresponding request message has used PageRequest.

message SomeResponse { repeated Bar results = 1; PageResponse page = 2; }

Fields

next_key: Vec<u8>

next_key is the key to be passed to PageRequest.key to query the next page most efficiently

total: u64

total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise

Trait Implementations

impl Clone for PageResponse[src]

impl Debug for PageResponse[src]

impl Default for PageResponse[src]

impl Message for PageResponse[src]

impl PartialEq<PageResponse> for PageResponse[src]

impl StructuralPartialEq for PageResponse[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, U> Into<U> for T where
    U: From<T>, 
[src]

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.