Struct modio::EventListOptions[][src]

pub struct EventListOptions { /* fields omitted */ }

Options used to filter event listings.

Filter parameters

  • id
  • mod_id
  • user_id
  • date_added
  • event_type

Sorting

  • id

See the modio docs for more informations.

By default this returns up to 100 items. You can limit the result using limit and offset.

Example

use modio::filter::{Order, Operator};
use modio::EventListOptions;
use modio::EventType;

let mut opts = EventListOptions::new();
opts.id(Operator::GreaterThan, 1024);
opts.event_type(Operator::Equals, EventType::ModfileChanged);

Methods

impl EventListOptions
[src]

ID: SortField = ::filter::SortField("id")

Trait Implementations

impl Debug for EventListOptions
[src]

Formats the value using the given formatter. Read more

impl Default for EventListOptions
[src]

Returns the "default value" for a type. Read more

impl QueryParams for EventListOptions
[src]

Auto Trait Implementations