Module modio::user::filters::files

source ·
Expand description

Modfile filters and sorting.

§Filters

  • Fulltext
  • Id
  • ModId
  • DateAdded
  • DateScanned
  • VirusStatus
  • VirusPositive
  • Filesize
  • Filehash
  • Filename
  • Version
  • Changelog

§Sorting

  • Id
  • ModId
  • DateAdded
  • Version

See 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::files::filters::Id;

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

Structs§