summaryrefslogtreecommitdiff
path: root/src/service/rooms/mod.rs
blob: f073984190df55e262752a0fceac271aa6041585 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
pub mod alias;
pub mod auth_chain;
pub mod directory;
pub mod edus;
pub mod event_handler;
pub mod lazy_loading;
pub mod metadata;
pub mod outlier;
pub mod pdu_metadata;
pub mod search;
pub mod short;
pub mod spaces;
pub mod state;
pub mod state_accessor;
pub mod state_cache;
pub mod state_compressor;
pub mod threads;
pub mod timeline;
pub mod user;

pub trait Data:
    alias::Data
    + auth_chain::Data
    + directory::Data
    + edus::Data
    + lazy_loading::Data
    + metadata::Data
    + outlier::Data
    + pdu_metadata::Data
    + search::Data
    + short::Data
    + state::Data
    + state_accessor::Data
    + state_cache::Data
    + state_compressor::Data
    + timeline::Data
    + threads::Data
    + user::Data
{
}

pub struct Service {
    pub alias: alias::Service,
    pub auth_chain: auth_chain::Service,
    pub directory: directory::Service,
    pub edus: edus::Service,
    pub event_handler: event_handler::Service,
    pub lazy_loading: lazy_loading::Service,
    pub metadata: metadata::Service,
    pub outlier: outlier::Service,
    pub pdu_metadata: pdu_metadata::Service,
    pub search: search::Service,
    pub short: short::Service,
    pub state: state::Service,
    pub state_accessor: state_accessor::Service,
    pub state_cache: state_cache::Service,
    pub state_compressor: state_compressor::Service,
    pub timeline: timeline::Service,
    pub threads: threads::Service,
    pub spaces: spaces::Service,
    pub user: user::Service,
}