Trait rawr::traits::PageListing
[−]
[src]
pub trait PageListing { fn before(&self) -> Option<String>; fn after(&self) -> Option<String>; fn modhash(&self) -> Option<String>; }
A paginatable listing.
Required Methods
fn before(&self) -> Option<String>
The ID to use for anchoring when paginating to the previous page.
fn after(&self) -> Option<String>
The ID to use for anchoring when paginating to the next page.
fn modhash(&self) -> Option<String>
The modhash (CSRF token) sent with this listing. Largely redundant, since the main modhash can be used.
Implementors
impl<'a> PageListing for Listing<'a>
impl<'a> PageListing for MessageListing<'a>