Struct rawr::options::ListingOptions [] [src]

pub struct ListingOptions {
    pub batch: u8,
    pub anchor: ListingAnchor,
}

Configures a paginated listing.

Fields

batch

The maximum amount of posts to fetch in one request.

anchor

See ListingAnchor for explanation of this property.

Methods

impl ListingOptions
[src]

fn default() -> ListingOptions

Provides the default options (25 posts per page, starts at first post in listing). If you are unsure, this will act like the default display options on Reddit.

Trait Implementations

impl Display for ListingOptions
[src]

fn fmt(&self, f: &mut Formatter) -> FmtResult

Formats the value using the given formatter.