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
use crate::data::channel;
use crate::data::message::Message;
use crate::data::object::Object;
use crate::data::presence;
use crate::data::timetoken::Timetoken;
pub type Publish = Timetoken;
pub type Subscribe = (Vec<Message>, Timetoken);
pub type SetState = ();
pub type GetState = Object;
pub type HereNow<T> = <T as presence::respond_with::RespondWith>::Response;
pub type GlobalHereNow<T> = presence::GlobalInfo<T>;
pub type WhereNow = Vec<channel::Name>;