Module filters

Source
Expand description

Mod filters & sorting

§Filters

  • Fulltext
  • Id
  • GameId
  • Status
  • Visible
  • SubmittedBy
  • DateAdded
  • DateUpdated
  • DateLive
  • MaturityOption
  • Name
  • NameId
  • Summary
  • Description
  • Homepage
  • Modfile
  • MetadataBlob
  • MetadataKVP
  • Tags

§Sorting

  • Id
  • Name
  • Downloads
  • Popular
  • Ratings
  • Subscribers

See the modio docs for more information.

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

§Example

use modio::filter::prelude::*;
use modio::mods::filters::Id;
use modio::mods::filters::GameId;
use modio::mods::filters::Tags;

let filter = Id::_in(vec![1, 2]).order_by(Id::desc());

let filter = GameId::eq(6).and(Tags::eq("foobar")).limit(10);

Modules§

events
Mod event filters and sorting.
stats
Mod statistics filters & sorting

Structs§

DateAdded
DateLive
DateUpdated
Description
Downloads
Fulltext
GameId
Homepage
Id
MaturityOption
MetadataBlob
MetadataKVP
Modfile
Name
NameId
Popular
Ratings
Status
SubmittedBy
Unique id of the user who has ownership of the objects.
Subscribers
Summary
Tags
Visible