aboutsummaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
authorZeyla Hellyer <[email protected]>2017-05-14 21:50:17 -0700
committerZeyla Hellyer <[email protected]>2017-05-22 16:44:46 -0700
commit9dae9e67b992cea4c18f1c685f5185abd9428887 (patch)
tree0021934890c7e48183b6a98b65601793dcbc8376 /src/client
parentRemove more remaining selfbot support (diff)
downloadserenity-9dae9e67b992cea4c18f1c685f5185abd9428887.tar.xz
serenity-9dae9e67b992cea4c18f1c685f5185abd9428887.zip
Reasonably derive Debug on items
Diffstat (limited to 'src/client')
-rw-r--r--src/client/gateway/shard.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/gateway/shard.rs b/src/client/gateway/shard.rs
index 67f23e7..a64ff2a 100644
--- a/src/client/gateway/shard.rs
+++ b/src/client/gateway/shard.rs
@@ -62,6 +62,7 @@ type CurrentPresence = (Option<Game>, OnlineStatus, bool);
/// [`receive`]: #method.receive
/// [docs]: https://discordapp.com/developers/docs/topics/gateway#sharding
/// [module docs]: index.html#sharding
+#[derive(Clone, Debug)]
pub struct Shard {
current_presence: CurrentPresence,
/// A tuple of the last instant that a heartbeat was sent, and the last that