1 2 3 4 5 6
use response::RawPagedResponse; pub trait PagedRequest { type Item; fn retrieve_single_page(&self, url: String) -> Result<RawPagedResponse<Self::Item>, String>; }
1 2 3 4 5 6
use response::RawPagedResponse; pub trait PagedRequest { type Item; fn retrieve_single_page(&self, url: String) -> Result<RawPagedResponse<Self::Item>, String>; }
Prefix searches with a type followed by a colon (e.g.
fn:) to restrict the search to a given type.
Accepted types are: fn, mod,
struct, enum,
trait, typedef (or
tdef).
Search functions by type signature (e.g.
vec -> usize)