Expand description
Rating filters and sorting.
§Filters
GameId
ModId
Rating
DateAdded
§Sorting
GameId
ModId
Rating
DateAdded
See the mod.io 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::user::filters::ratings::GameId;
use modio::user::filters::ratings::DateAdded;
use modio::user::filters::ratings::Rating;
let filter = GameId::_in(vec![1, 2]).order_by(DateAdded::desc());
let filter = Rating::positive().order_by(DateAdded::desc());