Module modio::comments::filters

source ·
Expand description

Comment filters and sorting.

§Filters

  • Fulltext
  • Id
  • ModId
  • SubmittedBy
  • DateAdded
  • ReplyId
  • ThreadPosition
  • Karma
  • Content

§Sorting

  • Id
  • ModId
  • SubmittedBy
  • DateAdded

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

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

Structs§