diff options
| author | Zeyla Hellyer <[email protected]> | 2017-05-14 21:50:17 -0700 |
|---|---|---|
| committer | Zeyla Hellyer <[email protected]> | 2017-05-22 16:44:46 -0700 |
| commit | 9dae9e67b992cea4c18f1c685f5185abd9428887 (patch) | |
| tree | 0021934890c7e48183b6a98b65601793dcbc8376 /src/ext | |
| parent | Remove more remaining selfbot support (diff) | |
| download | serenity-9dae9e67b992cea4c18f1c685f5185abd9428887.tar.xz serenity-9dae9e67b992cea4c18f1c685f5185abd9428887.zip | |
Reasonably derive Debug on items
Diffstat (limited to 'src/ext')
| -rw-r--r-- | src/ext/voice/handler.rs | 1 | ||||
| -rw-r--r-- | src/ext/voice/manager.rs | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/ext/voice/handler.rs b/src/ext/voice/handler.rs index c81a57f..545befe 100644 --- a/src/ext/voice/handler.rs +++ b/src/ext/voice/handler.rs @@ -36,6 +36,7 @@ use super::threading; /// /// [`Manager`]: struct.Manager.html /// [WebSocket connection]: ../../client/struct.Connection.html +#[derive(Clone, Debug)] pub struct Handler { /// The ChannelId to be connected to, if any. /// diff --git a/src/ext/voice/manager.rs b/src/ext/voice/manager.rs index 4ba7bfb..e85a5a3 100644 --- a/src/ext/voice/manager.rs +++ b/src/ext/voice/manager.rs @@ -20,6 +20,7 @@ use ::model::{ChannelId, GuildId, UserId}; /// [`Handler`]: struct.Handler.html /// [guild's channel]: ../../model/enum.ChannelType.html#variant.Voice /// [WebSocket connection]: ../../client/struct.Connection.html +#[derive(Clone, Debug)] pub struct Manager { handlers: HashMap<GuildId, Handler>, user_id: UserId, |