Paged

Trait Paged 

Source
pub trait Paged: MaybeSend + MaybeSync {
    type Message: MaybeSend + MaybeSync;

    // Required methods
    fn info(&self) -> &Option<PagingInfo>;
    fn messages(self) -> Vec<Self::Message>;
}
Expand description

Trait which for protobuf-generated type which can be paged. Paged implementation indicates a response that returns a collection of envelopes

Required Associated Types§

Required Methods§

Source

fn info(&self) -> &Option<PagingInfo>

Source

fn messages(self) -> Vec<Self::Message>

Implementors§