[][src]Trait pokerust::List

pub trait List where
    Self: Sized
{ fn count(&self) -> &u64;
fn next_list(&self) -> Result<Option<Self>, Error>;
fn previous_list(&self) -> Result<Option<Self>, Error>; }

Trait for lists of (Named)APIResources

Required methods

fn count(&self) -> &u64

Get the number of items in this list

fn next_list(&self) -> Result<Option<Self>, Error>

Get the next list

fn previous_list(&self) -> Result<Option<Self>, Error>

Get the previous list

Loading content...

Implementors

impl<T> List for APIResourceList<T> where
    T: DeserializeOwned
[src]

impl<T> List for NamedAPIResourceList<T> where
    T: DeserializeOwned
[src]

Loading content...