1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#[derive(Clone, Debug)]
pub struct Request<Filters> {
    pub filters: Filters,
    pub limit: Option<u16>,
    pub after: Option<String>,
}

impl<T> Request<T> {
    pub fn new(params: T, limit: Option<u16>, after: Option<String>) -> Self {
        Self {
            filters: params,
            limit,
            after,
        }
    }
}