misskey_api/streaming/
channel.rs

1use serde::Serialize;
2
3/// A type with no possible values.
4///
5/// This is used to indicate that [`ConnectChannelRequest::Outgoing`][`misskey_core::streaming::ConnectChannelRequest`] does not exist,
6/// that is, we do not send messages through that channel.
7///
8/// In the future when [`!`][never] is stabilized, this may be an alias for [`!`][never].
9///
10/// [never]: https://doc.rust-lang.org/nightly/std/primitive.never.html
11#[derive(Serialize, Clone, PartialEq, Eq, PartialOrd, Ord, Hash, Debug)]
12pub enum NoOutgoing {}
13
14pub mod admin;
15pub mod antenna;
16pub mod drive;
17pub mod global_timeline;
18pub mod hashtag;
19pub mod home_timeline;
20pub mod hybrid_timeline;
21pub mod local_timeline;
22pub mod main;
23pub mod messaging;
24pub mod messaging_index;
25pub mod queue_stats;
26pub mod server_stats;
27pub mod user_list;
28
29#[allow(clippy::module_inception)]
30#[cfg(feature = "12-47-0")]
31#[cfg_attr(docsrs, doc(cfg(feature = "12-47-0")))]
32pub mod channel;